CVE-2026-41373: OpenClaw before 2026.3.31 contains an incomplete host-env-security-policy.json that fails to restrict compiler
CVE-2026-41373 is a medium-severity flaw (CVSS 6.1) affecting openclaw. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.1% (top 97%) |
| CISA exploited list | No |
| Weakness | CWE-427 |
| Published | 2026-04-28 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-41373?
openclaw: upgrade to 2026.3.31. Exact commands for each OS are on this page.
Is CVE-2026-41373 being exploited?
CVE-2026-41373 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-41373 affect?
CVE-2026-41373 affects openclaw. Severity is medium (CVSS 6.1). 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 enviro
How urgent is CVE-2026-41373?
Priority 22/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-53855 HIGH 8.1 UPGRADE OpenClaw before 2026.4.2 contains an inline-eval bypass vulnerability allowing authenticated operators to weak
- CVE-2026-53857 HIGH 8.1 UPGRADE OpenClaw before 2026.5.3 contains a policy enforcement vulnerability where Zalo contacts with mutable display
- CVE-2026-53851 MEDIUM 5.3 UPGRADE OpenClaw before 2026.5.12 contains a notification bypass vulnerability allowing Slack reaction events to enter
- CVE-2026-53846 HIGH 7.1 UPGRADE OpenClaw before 2026.4.29 contains a path traversal vulnerability in the install helper that allows workspace
- CVE-2026-59261 HIGH 7.1 UPGRADE OpenClaw before 2026.5.28 contains a credential exposure vulnerability where workspace dotenv files can overri