# CVE-2026-41338: OpenClaw < 2026.3.31 - Time-of-Check-Time-of-Use (TOCTOU) Vulnerability in Sandbox File Operations

- Severity: Medium 4.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-02)
- Published: 2026-04-03T03:01:57.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-rm5c-4rmf-vvhw
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.3.31 (not affected: 2026.3.31)
- openclaw (npm): before 2026.3.31

## Every score

- VulnCheck: CVSS:4.0 4.3 Medium `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`
- VulnCheck: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-rm5c-4rmf-vvhw> (vendor-advisory, web)
- <https://github.com/openclaw/openclaw/commit/32a4a47d602e0618f87b3e59f94d8c142767f860> (patch, web)
- <https://www.vulncheck.com/advisories/openclaw-time-of-check-time-of-use-toctou-vulnerability-in-sandbox-file-operations> (third-party-advisory)
- <https://github.com/openclaw/openclaw> (package)
- <https://github.com/openclaw/openclaw/releases/tag/v2026.3.31> (web)

## Sources

- CVE List: [CVE-2026-41338](https://www.cve.org/CVERecord?id=CVE-2026-41338), CVE Terms of Use, modified 2026-04-24
- GitHub Advisory Database: [GHSA-rm5c-4rmf-vvhw](https://github.com/advisories/GHSA-rm5c-4rmf-vvhw), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2026-41338](https://nvd.nist.gov/vuln/detail/CVE-2026-41338), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-41338 · Whole record: https://cve.day/CVE-2026-41338.json · Rebuilt by cve.day 2026-11-25T22:59:19.428Z
