# CVE-2026-53864: OpenClaw insufficient sanitization in host environment sanitizer

Source: https://junglewise.ai/threats/cve-2026-53864-openclaw-insufficient-sanitization-in-host-environment-sanitizer  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-16. Updated: 2026-06-18  
License: CC BY 4.0 with a link back

CVE-2026-53864 · Severity: high · CVSS 8.1 · Published 2026-06-16

OpenClaw is a platform for managing automated tools and developer workflows. A security flaw in its environment variable sanitizer allows untrusted configuration files (like .env files) to inject sensitive Node.js control variables. This could allow an attacker to manipulate how background processes run, potentially leading to unauthorized data access or system interference.

Technologies: [openclaw (npm)](https://junglewise.ai/threats/technologies/npm-openclaw), [Openclaw](https://junglewise.ai/threats/technologies/openclaw). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [Openclaw](https://junglewise.ai/threats/vendors/openclaw).

## Quick answers

**Is CVE-2026-53864 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-53864 being exploited in the wild.

**How severe is CVE-2026-53864?** High severity, with a CVSS score of 8.1, published 16 June 2026.

**Which products and versions are affected?** openclaw (npm) SEMVER:introduced=0,fixed=2026.5.26; Openclaw < 2026.5.26, <= 2026.5.22.

**Is there a fix for CVE-2026-53864?** Yes. openclaw (npm): upgrade to 2026.5.26 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-53864 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-53864?** Check whether you run openclaw (npm) or Openclaw at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- openclaw (npm): upgrade to 2026.5.26 or later

  ```sh
  npm install openclaw@2026.5.26
  ```


## Technical details

A vulnerability exists in OpenClaw's environment variable sanitization logic (CWE-184) where two Node.js control variables are not properly filtered. An attacker with the ability to provide lower-trust environment inputs—such as through a workspace .env file, tool environment override, or skill environment block—can pass these variables through the shared sanitizer. When the affected feature is enabled, these variables can influence subsequent Node.js child processes or coverage output paths. This requires low privileges and is reachable via the network. The issue is patched in version 2026.5.26.

## Affected products

- openclaw openclaw <= 2026.5.22

## Identifiers

- CVE-2026-53864
- GHSA-ccwh-wwpp-6wg5

## Timeline

- 2026-05-28: disclosed
- 2026-06-18: advisory: GitHub Advisory published
- 2026-05-26: patched

## References

- [https://api.github.com/users/nayakchinmohan](https://api.github.com/users/nayakchinmohan)
- [https://github.com/nayakchinmohan](https://github.com/nayakchinmohan)
- [https://api.github.com/users/nayakchinmohan/gists%7B/gist_id%7D](https://api.github.com/users/nayakchinmohan/gists%7B/gist_id%7D)
- [https://api.github.com/users/nayakchinmohan/repos](https://api.github.com/users/nayakchinmohan/repos)
- [https://avatars.githubusercontent.com/u/6557536?v=4](https://avatars.githubusercontent.com/u/6557536?v=4)
- [https://api.github.com/users/nayakchinmohan/events%7B/privacy%7D](https://api.github.com/users/nayakchinmohan/events%7B/privacy%7D)

## Related threats

- [OpenClaw incorrect authorization in mcp.app.view method](https://junglewise.ai/threats/cve-2026-102807-openclaw-before-2026-9-4-contains-an-incorrect-authorization)
- [OpenClaw incorrect authorization in Gateway media root allowlist](https://junglewise.ai/threats/cve-2026-102806-openclaw-before-2026-9-5-contains-an-incorrect-authorization)
- [OpenClaw exec approval bypass in Google Meet node commands](https://junglewise.ai/threats/cve-2026-100599-openclaw-versions-2026-5-1-through-2026-7-0-fail-to-apply-the)
- [OpenClaw Signal approval reaction binding logic error](https://junglewise.ai/threats/cve-2026-100598-openclaw-npm-package-openclaw-before-2026-7-1-incorrectly-binds)
- [OpenClaw time-of-check time-of-use race condition in filesystem operations](https://junglewise.ai/threats/cve-2026-100597-openclaw-npm-package-openclaw-before-2026-7-1-is-vulnerable-to-a)
