CVE-2026-41387: OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-
CVE-2026-41387 is a high-severity flaw (CVSS 7.8) affecting openclaw. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-183 |
| 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-41387?
openclaw: upgrade to 2026.3.22. Exact commands for each OS are on this page.
Is CVE-2026-41387 being exploited?
CVE-2026-41387 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-41387 affect?
CVE-2026-41387 affects openclaw. Severity is high (CVSS 7.8). OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approve
How urgent is CVE-2026-41387?
Priority 31/100. High severity
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