Home

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.

PUBLISHED Reserved 2026-04-20 | Published 2026-04-23 | Updated 2026-04-24 | Assigner VulnCheck




MEDIUM: 4.3CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

MEDIUM: 5.0CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L

Problem types

CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Product status

Default status
unaffected

Any version before 2026.3.31
affected

2026.3.31 (semver)
unaffected

Credits

AntAISecurityLab reporter

References

github.com/...enclaw/security/advisories/GHSA-rm5c-4rmf-vvhw (GitHub Security Advisory (GHSA-rm5c-4rmf-vvhw)) vendor-advisory

github.com/...ommit/32a4a47d602e0618f87b3e59f94d8c142767f860 (Patch Commit) patch

www.vulncheck.com/...ulnerability-in-sandbox-file-operations (VulnCheck Advisory: OpenClaw < 2026.3.31 - Time-of-Check-Time-of-Use (TOCTOU) Vulnerability in Sandbox File Operations) third-party-advisory

cve.org (CVE-2026-41338)

nvd.nist.gov (CVE-2026-41338)

Download JSON