CVE-2026-41373
mediumpriority · track · 0EPSS 0.001 · 3 %ileDEEUUSEPSS · scored 2026-10-27
OpenClaw before 2026.3.31 contains an incomplete host-env-security-policy.json that fails to restrict compiler binary environment variables, allowing untrusted models to substitute CC, CXX, CARGO_BUILD_RUSTC, and CMAKE_C_COMPILER via environment overrides. Attackers with approved host-exec requests can override compiler binaries to execute arbitrary code during build processes.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.9–6.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-0948OpenClaw: Mehrere SchwachstellenDeutsch2026-03-31csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in OpenClaw ausnutzen, um erweiterte Privilegien zu erlangen, beliebigen Code auszuführen, Sicherheitsmaßnahmen zu umgehen, Daten offenzulegen oder zu manipulieren oder andere, nicht näher spezifizierte Angriffe durchzuführen.
- GHSA-g8xp-qx39-9jq9OpenClaw: Incomplete host-env-security-policy allows untrusted model to substitute compiler binaries via env overrides2026-04-03ghsa · osvUS
## Summary Incomplete `host-env-security-policy.json` allows untrusted model to substitute compiler binaries (`CC`, `CXX`, `CARGO_BUILD_RUSTC`, `CMAKE_C_COMPILER`) via env overrides on approved host exec requests ## Current Maintainer Triage - Status: narrow - Normalized severity: medium - Assessment: Shipped v2026.3.28 host-env policy missed compiler override vars, but exploitation still requires an approved host-exec request inside the existing exec trust domain, so medium not high. ## Affected Packages / Versions - Package: `openclaw` (npm) - Latest published npm version: `2026.3.31` - Vulnerable version range: `<=2026.3.28` - Patched versions: `>= 2026.3.31` - First stable tag containing the fix: `v2026.3.31` ## Fix Commit(s) - `e277a37f896b5011a1df06e6490c6630074d0afa` — 2026-03-30T20:06:32+01:00 OpenClaw thanks @tdjackey for reporting.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/openclaw/openclaw/releasesPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-41373cnnvd
- https://github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afaenisa_euvd
- https://github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9enisa_euvd
- https://www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environment-variable-override-in-host-execution-policyenisa_euvd
- https://github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afaPatchnvd
- https://github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9Vendor Advisorynvd
- https://www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environment-variable-override-in-host-execution-policyThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan