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

uutils coreutils の touch ユーティリティは、ファイル作成時にチェック時刻から使用時刻までの競合状態(TOCTOU)に対して脆弱性を持っています。ユーティリティはパスの欠落を検出すると、その後 File::create() を使用してファイルの作成を試みますが、これは内部的に O_TRUNC を使用します。攻撃者はこの隙間を利用してターゲットパスにファイルを作成したりシンボリックリンクを入れ替えたりでき、touch が既存のファイルの内容を切り詰めてしまい、永久的なデータ損失を引き起こす可能性があります。

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

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

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

NVD Vulnerability Information
CVE-2026-35360
Summary

The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss.

Publication Date April 23, 2026, 2:16 a.m.
Registration Date April 25, 2026, 4:05 a.m.
Last Update April 25, 2026, 4:02 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*
Related information, measures and tools
Common Vulnerabilities List