CVE-2026-54370: Time-of-check Time-of-use (TOCTOU) Race Condition in acl project acl
acl before version 2.4.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability that allows local attackers to escalate privileges by replacing a pathname component with a symbolic link between an lstat() check and subsequent symlink-following operations such as stat(), chown(), chmod(), acl_get_file(), and acl_set_file(). Attackers who control a pathname component can redirect file access control list operations to arbitrary files when getfacl, setfacl, or chacl is invoked by a privileged process over an attacker-controlled path, resulting in local privilege escalation.
AI Analysis
Technical Summary
The acl project before version 2.4.0 contains a TOCTOU race condition vulnerability. This occurs because the software performs an lstat() check on a pathname component and then follows symbolic links in subsequent operations such as stat(), chown(), chmod(), acl_get_file(), and acl_set_file(). An attacker who can replace a pathname component with a symbolic link in the time between these operations can redirect file ACL operations to arbitrary files. When privileged processes run getfacl, setfacl, or chacl on attacker-controlled paths, this can lead to local privilege escalation.
Potential Impact
Local attackers with the ability to control pathname components can exploit this vulnerability to escalate privileges on the affected system. This is achieved by redirecting file ACL operations to arbitrary files, potentially compromising system security and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running getfacl, setfacl, or chacl on untrusted or attacker-controlled paths with elevated privileges to reduce risk.
CVE-2026-54370: Time-of-check Time-of-use (TOCTOU) Race Condition in acl project acl
Description
acl before version 2.4.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability that allows local attackers to escalate privileges by replacing a pathname component with a symbolic link between an lstat() check and subsequent symlink-following operations such as stat(), chown(), chmod(), acl_get_file(), and acl_set_file(). Attackers who control a pathname component can redirect file access control list operations to arbitrary files when getfacl, setfacl, or chacl is invoked by a privileged process over an attacker-controlled path, resulting in local privilege escalation.
CVSS v4.0
Score 7.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The acl project before version 2.4.0 contains a TOCTOU race condition vulnerability. This occurs because the software performs an lstat() check on a pathname component and then follows symbolic links in subsequent operations such as stat(), chown(), chmod(), acl_get_file(), and acl_set_file(). An attacker who can replace a pathname component with a symbolic link in the time between these operations can redirect file ACL operations to arbitrary files. When privileged processes run getfacl, setfacl, or chacl on attacker-controlled paths, this can lead to local privilege escalation.
Potential Impact
Local attackers with the ability to control pathname components can exploit this vulnerability to escalate privileges on the affected system. This is achieved by redirecting file ACL operations to arbitrary files, potentially compromising system security and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running getfacl, setfacl, or chacl on untrusted or attacker-controlled paths with elevated privileges to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-12T20:20:02.948Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4274e827e9c79719eeb13f
Added to database: 06/29/2026, 13:36:40 UTC
Last enriched: 06/29/2026, 13:51:20 UTC
Last updated: 06/29/2026, 16:21:40 UTC
Views: 7
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.