# CVE-2026-22177: OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.vars

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/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.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-03-03T19:53:02.000Z
- Modified: 2026-11-08T14:01:09.488Z
- Also known as: GHSA-8fmp-37rc-p5g7
- Weaknesses: CWE-15
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

OpenClaw versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from config env.vars, allowing startup-time code execution. Attackers can inject variables like NODE_OPTIONS or LD_* through configuration to execute arbitrary code in the OpenClaw gateway service runtime context.

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 8.8 Medium `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:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- NVD: 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`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7> (vendor-advisory, web)
- <https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr> (vendor-advisory, web)
- <https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4> (patch, web)
- <https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22177> (advisory)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-22177](https://www.cve.org/CVERecord?id=CVE-2026-22177), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-8fmp-37rc-p5g7](https://github.com/advisories/GHSA-8fmp-37rc-p5g7), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2026-22177](https://nvd.nist.gov/vuln/detail/CVE-2026-22177), Public domain, modified 2026-06-17

---

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