製品・ソフトウェアに関する情報
OpenClawにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Title OpenClawにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Summary

OpenClaw の 2026年3月31日以前のバージョンには、サンドボックス内のファイル操作におけるチェック時と使用時の競合(Time-of-Check-Time-of-Use、TOCTOU)脆弱性が存在し、攻撃者が fd ベースの防御を回避できる可能性があります。攻撃者は apply_patch、remove、および mkdir 操作における「検証後に実行する」パターンを悪用し、検証と実行の間にファイルを操作できます。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアの一部が停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 23, 2026, midnight
Registration Date April 30, 2026, 11:01 a.m.
Last Update April 30, 2026, 11:01 a.m.
CVSS3.0 : 警告
Score 5
Vector CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
Affected System
OpenClaw
OpenClaw 2026.3.31 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 11:01 a.m.

NVD Vulnerability Information
CVE-2026-41338
Summary

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.

Publication Date April 24, 2026, 7:16 a.m.
Registration Date April 25, 2026, 4:07 a.m.
Last Update April 29, 2026, 3:56 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* 2026.3.31
Related information, measures and tools
Common Vulnerabilities List