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 the uutils coreutils project. The utility first creates a FIFO special file and subsequently performs a chmod operation on the path to set permissions. Because these two operations are not atomic, a local attacker with write permissions to the parent directory can replace the FIFO with a symbolic link to another file between creation and chmod. This causes the chmod to apply to the linked file instead, which may allow unauthorized modification of file permissions and potential privilege escalation if mkfifo is executed with elevated privileges. The CVSS 3.1 base score is 7.0, reflecting high impact on confidentiality, integrity, and availability, with attack vector local, high attack complexity, and low privileges required.
Potential Impact
If exploited, this vulnerability can allow a local attacker with write access to the parent directory to escalate privileges by causing the chmod operation to affect arbitrary files via symbolic link substitution. This could lead to unauthorized modification of file permissions, potentially compromising system security. The vulnerability affects confidentiality, integrity, and availability as indicated by the CVSS score. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, 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 that do not exhibit this race condition or apply manual operational controls to restrict directory write permissions.
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.
CVSS v3.1
Score 7.0high
Weaknesses
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 the uutils coreutils project. The utility first creates a FIFO special file and subsequently performs a chmod operation on the path to set permissions. Because these two operations are not atomic, a local attacker with write permissions to the parent directory can replace the FIFO with a symbolic link to another file between creation and chmod. This causes the chmod to apply to the linked file instead, which may allow unauthorized modification of file permissions and potential privilege escalation if mkfifo is executed with elevated privileges. The CVSS 3.1 base score is 7.0, reflecting high impact on confidentiality, integrity, and availability, with attack vector local, high attack complexity, and low privileges required.
Potential Impact
If exploited, this vulnerability can allow a local attacker with write access to the parent directory to escalate privileges by causing the chmod operation to affect arbitrary files via symbolic link substitution. This could lead to unauthorized modification of file permissions, potentially compromising system security. The vulnerability affects confidentiality, integrity, and availability as indicated by the CVSS score. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, 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 that do not exhibit this race condition or apply manual operational controls to restrict directory write permissions.
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: 5/8/2026, 2:04:24 AM
Last updated: 6/7/2026, 6:05:23 AM
Views: 56
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.
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.