mediumVulnerability

GHSA-h2vw-ph2c-jvwf

## Affected Packages / Versions - Package: `openclaw` (npm) - Affected versions: `>= 2026.4.5, < 2026.4.20` - Patched version: `2026.4.20` ## Impact A malicious workspace `.env` could set `MINIMAX_API_HOST` and redirect credentialed MiniMax requests to an attacker-controlled origin, exposing the MiniMax API key in the outbound `Authorization` header. This requires running OpenClaw from an attacker-controlled workspace. Severity is medium. ## Fix OpenClaw now blocks `MINIMAX_API_HOST` from workspace dotenv injection and removes env-driven URL routing from the affected MiniMax request path. Fix commit: - `2f06696579a1ab0cb5bbbbb6a900414a6b2e3cd1` ## Release Fixed in OpenClaw `2026.4.20`.

Properties

ghsa_id
GHSA-h2vw-ph2c-jvwf
severity
medium
summary
OpenClaw: Workspace dotenv MiniMax host override could redirect credentialed requests
cve_id
GHSA-h2vw-ph2c-jvwf
is_ghsa_only
true
ghsa_published
2026-04-25T23:50:10Z
source_url
https://github.com/advisories/GHSA-h2vw-ph2c-jvwf
ghsa_updated
2026-04-25T23:50:10Z

Related Entities (5)

VULNERABLE_TO (1)

[Software]npm/OpenClaw

AFFECTS (1)

[Software]npm/OpenClaw

HAS_WEAKNESS (2)

[Weakness]Insufficiently Protected Credentials
[Weakness]External Control of System or Configuration Setting

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph