OpenClaw: Workspace dotenv MiniMax host override could redirect credentialed requests
Moderate severity
GitHub Reviewed
Published
Apr 21, 2026
in
openclaw/openclaw
•
Updated May 19, 2026
Description
Published to the GitHub Advisory Database
Apr 25, 2026
Reviewed
Apr 25, 2026
Last updated
May 19, 2026
Affected Packages / Versions
openclaw(npm)>= 2026.4.5, < 2026.4.202026.4.20Impact
A malicious workspace
.envcould setMINIMAX_API_HOSTand redirect credentialed MiniMax requests to an attacker-controlled origin, exposing the MiniMax API key in the outboundAuthorizationheader.This requires running OpenClaw from an attacker-controlled workspace. Severity is medium.
Fix
OpenClaw now blocks
MINIMAX_API_HOSTfrom workspace dotenv injection and removes env-driven URL routing from the affected MiniMax request path.Fix commit:
2f06696579a1ab0cb5bbbbb6a900414a6b2e3cd1Release
Fixed in OpenClaw
2026.4.20.References