CVE-2026-41338 OpenClaw < 2026.3.31 - Time-of-Check-Time-of-Use (TOCTOU) Vulnerability in Sandbox File Operations
MediumCVSS 4.3
EPSS 0.12%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.3.31 | 2026.3.31 | Fixed |
| npm openclaw(npm) | < 2026.3.31 | 2026.3.31 | Fixed |
| openclaw | < 2026.3.31 | 2026.3.31 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.3.31 | 2026.3.31 |
| openclaw | < 2026.3.31 | 2026.3.31 |
| npm openclaw(npm) | < 2026.3.31 | 2026.3.31 |
References
- GitHub Security Advisory (GHSA-rm5c-4rmf-vvhw) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.3.31 - Time-of-Check-Time-of-Use (TOCTOU) Vulnerability in Sandbox File Operations third-party-advisory
- github.com product
- github.com