GHSA-9r9j-3r2w-fg3v
Duplicate Advisory: OpenClaw: Workspace dotenv could override runtime-control environment variables
Impact
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-hxvm-xjvf-93f3. This link is maintained to preserve external references. ### Original Description OpenClaw before 2026.4.20 fails to properly reserve the OPENCLAW_ runtime-control environment namespace in workspace dotenv files, allowing attackers to override critical runtime variables. Malicious workspaces can set variables like OPENCLAW_GIT_DIR to manipulate trusted OpenClaw runtime behavior during source-update or installer flows.
An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | openclaw | < 2026.4.20 | 2026.4.20 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-9r9j-3r2w-fg3v
- https://github.com/openclaw/openclaw/security/advisories/GHSA-hxvm-xjvf-93f3
- https://nvd.nist.gov/vuln/detail/CVE-2026-44114
- https://github.com/openclaw/openclaw/commit/018494fa3ebb9145112e68b56fe1cb2e9f9a9ed6
- https://www.vulncheck.com/advisories/openclaw-environment-variable-namespace-collision-via-workspace-dotenv