CVE-2026-41373
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-28
- Last modified
- 2026-11-11
- Assigned by
- disclosure@vulncheck.com
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- disclosure@vulncheck.com
- Probability of exploitation
-
0.1 %
higher than 3 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Openclaw | Openclaw | < 2026.3.31 | Affected |
Weakness type
-
CWE-427: Uncontrolled Search Path Element
The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1574.001: DLL
- T1574.004: Dylib Hijacking
- T1574.007: Path Interception by PATH Environment Variable
- T1574.008: Path Interception by Search Order Hijacking
- T1574.009: Path Interception by Unquoted Path
References
- https://github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afa
- https://github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9
- https://www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environmen…
Related at Berigo
Articles
-
An AI agent deleted a stranger's booking to get its owner a gym class
Same product
2026-08-19
An Australian user asked his agent to move up the waiting list. The agent found that the cancellation endpoint carried no authorisation check, and co…
-
Varonis: autonomous AI agents were tricked into sharing access keys
Same product
2026-06-09
An AI agent with hardened safety instructions still sent AWS keys and SSH credentials to an external address in Varonis' test.
-
Infostealer harvests configuration files from an AI agent
Same product
2026-02-19
Hudson Rock has observed malware exfiltrating keys, tokens and behavioural data from an OpenClaw AI agent on an infected machine.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.