CVE-2026-35352: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent directory can swap the newly created FIFO for a symbolic link between these two operations. This redirects the chmod call to an arbitrary file, potentially enabling privilege escalation if the utility is run with elevated privileges.
AI Analysis
Technical Summary
This vulnerability involves a Time-of-Check to Time-of-Use (TOCTOU) race condition in the mkfifo utility of uutils coreutils. The utility first creates a FIFO special file and then performs a chmod on the path to set permissions. Because these two operations are separate, an attacker with write access to the parent directory can replace the FIFO with a symbolic link pointing to an arbitrary file between creation and chmod. Consequently, the chmod operation is applied to the target of the symbolic link instead of the FIFO, potentially enabling privilege escalation if mkfifo is executed with elevated privileges. The CVSS 3.1 base score is 7.0, indicating high severity, with attack vector local, attack complexity high, privileges required low, no user interaction, and high impact on confidentiality, integrity, and availability. No patch or vendor advisory detailing remediation is currently available.
Potential Impact
If exploited, this vulnerability allows a local attacker with write access to the parent directory to redirect the chmod operation to arbitrary files via symbolic link manipulation. This can lead to unauthorized modification of file permissions on arbitrary files, potentially resulting in privilege escalation when mkfifo is run with elevated privileges. The impact affects confidentiality, integrity, and availability at a high level according to the CVSS score.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the mkfifo utility from uutils coreutils with elevated privileges in environments where untrusted users have write access to the parent directory. Consider using alternative, trusted utilities or implementing access controls to prevent unauthorized directory modifications.
CVE-2026-35352: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
Description
A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent directory can swap the newly created FIFO for a symbolic link between these two operations. This redirects the chmod call to an arbitrary file, potentially enabling privilege escalation if the utility is run with elevated privileges.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a Time-of-Check to Time-of-Use (TOCTOU) race condition in the mkfifo utility of uutils coreutils. The utility first creates a FIFO special file and then performs a chmod on the path to set permissions. Because these two operations are separate, an attacker with write access to the parent directory can replace the FIFO with a symbolic link pointing to an arbitrary file between creation and chmod. Consequently, the chmod operation is applied to the target of the symbolic link instead of the FIFO, potentially enabling privilege escalation if mkfifo is executed with elevated privileges. The CVSS 3.1 base score is 7.0, indicating high severity, with attack vector local, attack complexity high, privileges required low, no user interaction, and high impact on confidentiality, integrity, and availability. No patch or vendor advisory detailing remediation is currently available.
Potential Impact
If exploited, this vulnerability allows a local attacker with write access to the parent directory to redirect the chmod operation to arbitrary files via symbolic link manipulation. This can lead to unauthorized modification of file permissions on arbitrary files, potentially resulting in privilege escalation when mkfifo is run with elevated privileges. The impact affects confidentiality, integrity, and availability at a high level according to the CVSS score.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the mkfifo utility from uutils coreutils with elevated privileges in environments where untrusted users have write access to the parent directory. Consider using alternative, trusted utilities or implementing access controls to prevent unauthorized directory modifications.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.087Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d019fe3cd2cdd00c70
Added to database: 4/22/2026, 4:31:12 PM
Last enriched: 4/22/2026, 4:46:14 PM
Last updated: 4/23/2026, 2:50:23 AM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.