# CVE-2026-44995: OpenClaw < 2026.4.20 - Arbitrary Code Execution via MCP stdio Environment Variables

- Severity: Medium 5.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-04-25T23:48:03.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-mj59-h3q9-ghfh
- Weaknesses: CWE-427, CWE-454, CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

OpenClaw before 2026.4.20 contains an improper environment variable validation vulnerability in MCP stdio server configuration that allows attackers to execute arbitrary code. Malicious workspace configurations can pass dangerous startup variables like NODE_OPTIONS, LD_PRELOAD, or BASH_ENV to spawned MCP server processes, enabling code injection when operators start sessions using those servers.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.4.20 (not affected: 2026.4.20)
- openclaw (npm): before 2026.4.20

## Every score

- VulnCheck: CVSS:4.0 5.4 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-mj59-h3q9-ghfh> (third-party-advisory, vendor-advisory, web)
- <https://github.com/openclaw/openclaw/commit/62fa5071896e95edc7f67d1cebc70a2859e283af> (patch, web)
- <https://github.com/openclaw/openclaw/commit/85d86ebc4bf3d2226d39d132a484f4f7a299fa1b> (broken-link, patch, web)
- <https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-mcp-stdio-environment-variables> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44995> (advisory)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-44995](https://www.cve.org/CVERecord?id=CVE-2026-44995), CVE Terms of Use, modified 2026-05-11
- GitHub Advisory Database: [GHSA-mj59-h3q9-ghfh](https://github.com/advisories/GHSA-mj59-h3q9-ghfh), CC-BY-4.0, modified 2026-05-19
- NVD: [CVE-2026-44995](https://nvd.nist.gov/vuln/detail/CVE-2026-44995), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-44995 · Whole record: https://cve.day/CVE-2026-44995.json · Rebuilt by cve.day 2026-11-25T22:59:21.236Z
