CVE-2026-4040: Openclaw cli · OpenClaw safeBins file-existence oracle information disclosure
Affects openclaw-cliSource GCVE Database
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
- 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:XExploitation evidence
Disclosed: evidence found.
CVE published 12 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
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.