CVE-2026-41338

medium

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.

References

https://www.vulncheck.com/advisories/openclaw-time-of-check-time-of-use-toctou-vulnerability-in-sandbox-file-operations

https://github.com/openclaw/openclaw/security/advisories/GHSA-rm5c-4rmf-vvhw

https://github.com/openclaw/openclaw/commit/32a4a47d602e0618f87b3e59f94d8c142767f860

Details

Source: Mitre, NVD

Published: 2026-04-23

Updated: 2026-04-23

Risk Information

CVSS v2

Base Score: 4.5

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:C/A:P

Severity: Medium

CVSS v3

Base Score: 5

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

Severity: Medium

CVSS v4

Base Score: 4.3

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

Severity: Medium