CVE-2026-41338
Description
OpenClaw before 2026.3.31 contains a time-of-check-time-of-use vulnerability in sandbox file operations that allows attackers to bypass fd-based defenses. Attackers can exploit check-then-act patterns in apply_patch, remove, and mkdir operations to manipulate files between validation and execution.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-23
- Last modified
- 2026-11-11
- Assigned by
- disclosure@vulncheck.com
- CVSS vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- disclosure@vulncheck.com
- Probability of exploitation
-
0.1 %
higher than 0 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Openclaw | Openclaw | < 2026.3.31 | Affected |
Weakness type
-
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
References
- https://github.com/openclaw/openclaw/commit/32a4a47d602e0618f87b3e59f94d8c142767f860
- https://github.com/openclaw/openclaw/security/advisories/GHSA-rm5c-4rmf-vvhw
- https://www.vulncheck.com/advisories/openclaw-time-of-check-time-of-use-toctou-vulnerabil…
Related at Berigo
Articles
-
An AI agent deleted a stranger's booking to get its owner a gym class
Same product
2026-08-19
An Australian user asked his agent to move up the waiting list. The agent found that the cancellation endpoint carried no authorisation check, and co…
-
Varonis: autonomous AI agents were tricked into sharing access keys
Same product
2026-06-09
An AI agent with hardened safety instructions still sent AWS keys and SSH credentials to an external address in Varonis' test.
-
Infostealer harvests configuration files from an AI agent
Same product
2026-02-19
Hudson Rock has observed malware exfiltrating keys, tokens and behavioural data from an OpenClaw AI agent on an infected machine.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.