# GHSA-w9j9-w4cp-6wgr: OpenClaw Host-Exec Environment Variable Injection

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-09T17:37:04.000Z
- Modified: 2026-07-08T07:14:00.205Z
- Related: CVE-2026-22177
- Weaknesses: CWE-78

## Description

## Impact

OpenClaw Host-Exec Environment Variable Injection.

Host exec could inherit environment variables that influence interpreters, shells, or build tools.

OpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.

## Affected Packages / Versions

- Package: `openclaw` (npm)
- Affected versions: `<= 2026.3.28`
- Patched versions: `2026.4.8`

## Fix

The issue was fixed on `main` and is available in the patched npm version listed above. The verified fixed tree is commit `d7c3210cd6f5fdfdc1beff4c9541673e814354d5`.

## Verification

The fix was re-checked against `main` before publication, including targeted regression tests for the affected security boundary.

## Credits

Thanks @wsparks-vc for reporting.

(As written by GitHub Advisory Database.)

## Affected

- openclaw (npm): before 2026.4.8

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr> (web)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- GitHub Advisory Database: [GHSA-w9j9-w4cp-6wgr](https://github.com/advisories/GHSA-w9j9-w4cp-6wgr), CC-BY-4.0, modified 2026-07-08

---

Page: https://cve.day/GHSA-w9j9-w4cp-6wgr · Whole record: https://cve.day/GHSA-w9j9-w4cp-6wgr.json · Rebuilt by cve.day 2026-11-25T22:56:46.815Z
