CVE-2026-44992: OpenClaw: Workspace dotenv MiniMax host override could redirect credentialed requests
OpenClaw 2026.4.5 up to 2026.4.19 lets a workspace `.env` file set `MINIMAX_API_HOST`. A malicious repository can use it to send MiniMax requests to an attacker's server, together with your MiniMax API key in the `Authorization` header. You are exposed when you run OpenClaw from a workspace you do not control. Upgrade to openclaw 2026.4.20.
Published Apr 25, 2026 · Updated May 19, 2026 · Analysis Oct 29, 2026
What an attacker can do
OpenClaw loads a .env file from the workspace it runs in. In the affected versions, that file could set MINIMAX_API_HOST, the host the MiniMax request code sends credentialed calls to. The request path took its URL from the environment, so the repository decided where the call went.
An attacker plants a .env with MINIMAX_API_HOST pointing at a server they run, in a repository, a shared folder or a pull request checkout. When the victim runs OpenClaw there and the MiniMax provider is used, the request carries the victim's MiniMax API key in the outbound Authorization header. The attacker's server simply logs it.
The attacker needs the victim to open an attacker-controlled workspace (local attack vector, user interaction). The gain is the stolen MiniMax key, which allows API use billed to the victim, and anything else that key can access. The vector also notes a subsequent-system impact. The advisory rates it medium. Only people who use MiniMax are exposed.
Who is affected
The openclaw npm package from 2026.4.5 up to but not including 2026.4.20. Versions before 2026.4.5 are not listed as affected. Exposure needs the MiniMax provider to be in use and OpenClaw to be started in a workspace with an untrusted .env.
npm ls openclawopenclaw
- Ecosystem
- npm
- Affected
- >= 2026.4.5, < 2026.4.20
- Fixed in
- 2026.4.20
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.4.20:
npm install [email protected]The fix commit is 2f06696579a1ab0cb5bbbbb6a900414a6b2e3cd1. OpenClaw now blocks MINIMAX_API_HOST from workspace dotenv injection and removes environment-driven URL routing from the affected MiniMax request path. The advisory gives no workaround. If you ran an affected version in a workspace you did not trust, rotate the MiniMax API key.
How to tell if you were hit
Search workspaces for .env files that set MINIMAX_API_HOST. Check outbound connections from the OpenClaw host for MiniMax requests to hosts other than MiniMax's own API. Review the MiniMax account's usage and key activity for calls you did not make. The advisory names no log signature.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to nexrin.
Questions
- What does an attacker get from CVE-2026-44992?
Your MiniMax API key. The redirected request carries it in the
Authorizationheader to the attacker's host.- Do I need to be running MiniMax?
The exposed path is the MiniMax request code, so the risk applies when OpenClaw makes MiniMax calls from an untrusted workspace.
- Which versions are affected?
openclaw 2026.4.5 up to but not including 2026.4.20. The fix is in 2026.4.20.
- Should I rotate my key?
If you ran an affected version in a workspace you did not control, yes. The advisory does not say it, but the key may have been sent to another host.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
