Skip to main content
VulnerabilityPublished Updated

CVE-2026-4039: OpenClaw · Skill env override host env injection via applySkillConfigEnvOverrides (defense-in-depth)

Affects openclaw-cliSource GCVE Database

0
Compare
Authoritative record:CVE-2026-4039· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 2026.7.1 when convenient.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2026.7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Upgrade openclaw-cli to 2026.7.1.

Affected software

ProductAffectedFixed in
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threatsAffected
  • <2026.7.1
Fixed in
  • 2026.7.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in OpenClaw CLI version 2026.2.21 that sanitizes skill environment overrides and blocks dangerous host environment keys including NODE_OPTIONS. Users should upgrade to version 2026.2.21 or later to remediate this vulnerability.

Description

The OpenClaw CLI had a vulnerability in the applySkillConfigEnvOverrides function where environment variables from skill configurations were copied into the host process environment without proper safety checks. This allowed injection of dangerous process-level variables like NODE_OPTIONS, potentially affecting runtime and child process behavior. The vulnerability requires an attacker to have the ability to modify local OpenClaw configuration files. A fix was released in version 2026.2.21 that sanitizes these environment overrides and blocks dangerous keys.

References

Community reviews

Loading reviews…