CVE-2026-54370

NameCVE-2026-54370
Descriptionacl 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1141110

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
acl (PTS)bullseye2.2.53-10vulnerable
bookworm2.3.1-3vulnerable
trixie2.3.2-2vulnerable
forky, sid2.4.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
aclsource(unstable)2.4.0-11141110

Notes

[trixie] - acl <no-dsa> (Will be fixed first in unstable, then point release update; not to be backported by individual patches)
[bookworm] - acl <postponed> (Minor issue; local TOCTOU in recursive setfacl/chacl; fix needs 2.4.0 acl_*_at() ABI + walk_tree rewrite, not individually backportable)
[bullseye] - acl <postponed> (Minor issue; local TOCTOU in recursive setfacl/chacl; fix needs 2.4.0 acl_*_at() ABI + walk_tree rewrite, not individually backportable)
https://www.openwall.com/lists/oss-security/2026/06/29/1
Fixed by: https://cgit.git.savannah.nongnu.org/cgit/acl.git/commit/?id=601cc884a548ae9e9d246ae749e54b3272e4b1d7 (v2.4.0)
Fixed by: https://cgit.git.savannah.nongnu.org/cgit/acl.git/commit/?id=54e14e9bc545f505b379d0792a2748d9baf88700 (v2.4.0)
Fixed by: https://cgit.git.savannah.nongnu.org/cgit/acl.git/commit/?id=2c03ceefa0610d551d9cc089ce0a404cbe2d34b4 (v2.4.0)
Fixed by: https://cgit.git.savannah.nongnu.org/cgit/acl.git/commit/?id=2ee940139e9bba5005a3d987a6daecdda909089e (v2.4.0)
The fixes are based on a complete rewrite of the walk_tree helper.

Search for package or bug name: Reporting problems