CVE-2026-54370

acl < 2.4.0 TOCTOU Symlink Traversal via getfacl/setfacl/chacl

Published Jun 29, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The acl utility prior to version 2.4.0 suffers from a TOCTOU race condition that allows an attacker who can influence a pathname component to replace it with a symbolic link. During the execution of privileged operations such as getfacl, setfacl, or chacl, the program performs a lstat() check and later follows the symlink when calling stat(), chown(), chmod(), acl_get_file(), or acl_set_file(), enabling the attacker to redirect access‑control list modifications to an arbitrary target file. This flaw results in local privilege escalation because the privileged process can alter the permissions or ownership of files chosen by the attacker.

Affected Systems

The vulnerability affects the acl project’s acl utility for all versions earlier than 2.4.0. Users running these older releases on any Linux or Unix‑derived system are exposed if they employ getfacl, setfacl, or chacl with paths that an attacker can control.

Risk and Exploitability

With a CVSS score of 7.2 the vulnerability is considered high severity. EPSS data is not available, and the issue is not currently listed in CISA’s Known Exploited Vulnerabilities catalog. The attack vector is local; an attacker must be able to write or control a pathname component to insert a symlink before the privileged command is issued. Once this condition is met, the exploitation is straightforward and grants the attacker the privileges of the executing process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade acl to version 2.4.0 or later.
  • Restrict the execution of getfacl, setfacl, and chacl by privileged services or run them under non-privileged users when possible.
  • Ensure that any directory or file names used with these commands are owned by trusted users and that symbolic links cannot be introduced into the path; consider replacing symlink‑followed operations with safe alternatives or implementing integrity checks on path components.

Generated by OpenCVE AI on June 29, 2026 at 14:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:acl_project:acl:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Acl Project
Acl Project acl
Vendors & Products Acl Project
Acl Project acl
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title acl < 2.4.0 TOCTOU Symlink Traversal via getfacl/setfacl/chacl
Weaknesses CWE-367
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 9:33 PM
Reserved
Jun 12, 2026, 8:20 PM
Status
Deferred
Published
Jun 29, 2026, 2:16 PM
Modified
Oct 25, 2026, 9:10 PM
Severity
Moderate
Public date
Jun 29, 2026, 1:00 PM