# CVE-2026-42435: OpenClaw 2026.2.22 < 2026.4.12 - Shell-Wrapper Detection Bypass via Environment Variable Assignment Injection

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-04-17T21:53:36.000Z
- Modified: 2026-06-17T10:47:50.250Z
- Also known as: GHSA-j6c7-3h5x-99g9
- Weaknesses: CWE-78, CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

OpenClaw versions from 2026.2.22 before 2026.4.12 contain an insufficient shell-wrapper detection vulnerability allowing attackers to inject environment variable assignments at the argv level. Attackers can bypass exec preflight handling to manipulate high-risk shell variables like SHELLOPTS and PS4, affecting execution semantics and security controls.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: from 2026.2.22 before 2026.4.12 (not affected: 2026.4.12)
- openclaw (npm): from 2026.2.22 before 2026.4.12

## Every score

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

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-j6c7-3h5x-99g9> (vendor-advisory, web)
- <https://github.com/openclaw/openclaw/commit/8f8492d172f4c5b4fd7dd9a47855ed620c8770ab> (patch, web)
- <https://www.vulncheck.com/advisories/openclaw-shell-wrapper-detection-bypass-via-environment-variable-assignment-injection> (third-party-advisory)
- <https://github.com/openclaw/openclaw/pull/65717> (web)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-42435](https://www.cve.org/CVERecord?id=CVE-2026-42435), CVE Terms of Use, modified 2026-05-06
- GitHub Advisory Database: [GHSA-j6c7-3h5x-99g9](https://github.com/advisories/GHSA-j6c7-3h5x-99g9), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-42435](https://nvd.nist.gov/vuln/detail/CVE-2026-42435), Public domain, modified 2026-06-17

---

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