Skip to main content
VulnerabilityPublished Updated

CVE-2026-4040: Openclaw cli · OpenClaw safeBins file-existence oracle information disclosure

Affects openclaw-cliSource GCVE Database

0
Compare
Authoritative record:CVE-2026-4040· Medium 4.8

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

Data as of 17 Nov 2026, 20:25 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2026.7.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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 patch is available in openclaw version 2026.2.18 that eliminates the file-existence oracle by changing the safe-bin validation to deterministic argv-only checks and blocking file-oriented flags in safe-bin mode. Users should upgrade to version 2026.2.18 or later to remediate this vulnerability.

Description

CVE-2026-4040 is an information disclosure vulnerability in the OpenClaw CLI's safeBins file-existence oracle. The vulnerability allowed attackers to infer the presence of files on the host filesystem by observing differences in command allow/deny behavior based on file existence. This could enable filesystem enumeration and aid in planning further attacks. The issue affects openclaw versions up to and including 2026.2.17. A patch is available in version 2026.2.18 that changes the safe-bin validation to avoid file-existence checks and blocks file-oriented flags in safe-bin mode.

References

Community reviews

Loading reviews…