Skip to main content
VulnerabilityPublished Updated

CVE-2026-41336: OpenClaw · Workspace `.env` can override the bundled hooks root and load attacker hook code

Affects openclaw-cliSource GCVE Database

0
Compare
Authoritative record:CVE-2026-41336· High 8.5

Not known to be exploited · CVSS 8.5 High : upgrade to 2026.3.31 soon.

Data as of 16 Nov 2026, 20:25 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.5
CNA (VulnCheck)CVSS 3.17.8
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2026.3.31
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Apr 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 16 Nov 2026.

What to do

Upgrade openclaw-cli to 2026.3.31.

Affected software

ProductAffectedFixed in
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threatsAffected
  • >=2026.1.29 <2026.3.31
Fixed in
  • 2026.3.31

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

AI-suggested

Upgrade OpenClaw CLI to version 2026.3.31 or later, where the vulnerability is patched. Versions prior to 2026.3.31 are vulnerable. No other mitigation is indicated by the vendor advisory.

Description

OpenClaw CLI versions from 2026.1.29 up to but not including 2026.3.31 contain a vulnerability where a workspace .env file can override the bundled hooks root directory. This allows loading of attacker-controlled hook code, potentially compromising confidentiality, integrity, and availability. The issue is patched in version 2026.3.31 and later.

References

Community reviews

Loading reviews…