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

Medium 4.8 Published Updated

A local attacker can exploit a discrepancy in the File Existence Handler to expose sensitive information via the safeBins function.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-4040?

CVE-2026-4040 is a medium-severity vulnerability in Openclaw Openclaw, published on 12 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-203, CWE-200

Which versions are affected by CVE-2026-4040?

2 open source packages ship an affected version, including openclaw. It affects 1 product.

PackageAffectedFixed in
openclaw npmAll versions2026.2.19
openclaw npmAll versions2026.2.19

Products include Openclaw Openclaw.

How do I fix CVE-2026-4040?

Upgrade openclaw to 2026.2.19 or later.

Is CVE-2026-4040 being exploited?

There is no known exploitation of CVE-2026-4040 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Openclaw Openclaw vulnerabilities

Sources

Also known as GHSA-6c9j-x93c-rw6j, MINI-5j5p-7q46-pcm2.

Is CVE-2026-4040 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free