CVEfocus › CVE database › CVE-2026-54371

CVE-2026-54371attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr

CVSS 7.1 HighEPSS 0.2% (higher than 4% of CVEs)Published 2026-06-29Updated 2026-09-11Assigner: VulnCheck

attr before version 2.6.0 contains a symlink traversal vulnerability in the getfattr and setfattr utilities that allows local attackers to escalate privileges by replacing a pathname component with a symbolic link during directory hierarchy traversal. Attackers who control a pathname component can redirect getfattr and setfattr operations to arbitrary files by substituting a symlink, leading to local privilege escalation when getfattr or setfattr is invoked by a privileged process over an attacker-controlled path.

CWE-59

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
12Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04attrFixed1:2.5.2-4ubuntu0.1UBUNTU-CVE-2026-54371
Ubuntu 25.10attrWill not fix
attr developer recommends to update to new version, but this may conflict with tar, amongst others, see "Compatibility Notes":…
UBUNTU-CVE-2026-54371
Ubuntu 24.04attrFixed1:2.5.2-1ubuntu0.1UBUNTU-CVE-2026-54371
Ubuntu 22.04attrFixed1:2.5.1-1ubuntu0.1UBUNTU-CVE-2026-54371
Ubuntu 20.04attrFix pending1:2.4.48-5ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-54371
Ubuntu 18.04attrFix pending1:2.4.47-2ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-54371
Ubuntu 16.04attrFix pending1:2.4.47-2ubuntu0.16.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-54371
Ubuntu 14.04attrFix pending1:2.4.47-1ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-54371
Debian 14attrFixed1:2.6.0-1DEBIAN-CVE-2026-54371
Debian 13attrFix pendingDEBIAN-CVE-2026-54371
Debian 12attrFix pendingDEBIAN-CVE-2026-54371
Red Hat Enterprise Linux 10attrFixed0:2.6.0-1.el10_2RHSA-2026:59380
Red Hat Enterprise Linux 10libattrFixed0:2.6.0-1.el10_2RHSA-2026:59380
Red Hat Enterprise Linux 10libattr-develFixed0:2.6.0-1.el10_2RHSA-2026:59380
Red Hat Enterprise Linux 9attrFixed0:2.6.0-1.el9_8RHSA-2026:60226
Red Hat Enterprise Linux 9libattrFixed0:2.6.0-1.el9_8RHSA-2026:60226
Red Hat Enterprise Linux 9libattr-develFixed0:2.6.0-1.el9_8RHSA-2026:60226
Red Hat Enterprise Linux 8attrFixed0:2.6.0-1.el8_10RHSA-2026:56133
Red Hat Enterprise Linux 8libattrFixed0:2.6.0-1.el8_10RHSA-2026:56133
Red Hat Enterprise Linux 8libattr-develFixed0:2.6.0-1.el8_10RHSA-2026:56133
Red Hat Enterprise Linux 7attrFix pending
Fix deferred
Red Hat Enterprise Linux 7libattrFix pending
Fix deferred
Red Hat Enterprise Linux 7libattr-develFix pending
Fix deferred
Red Hat Enterprise Linux 6attrFix pending
Fix deferred
Red Hat Enterprise Linux 6libattrFix pending
Fix deferred
Red Hat Enterprise Linux 6libattr-develFix pending
Fix deferred
AlmaLinux 10attrFixed2.6.0-1.el10_2ALSA-2026:59380
AlmaLinux 10libattrFixed2.6.0-1.el10_2ALSA-2026:59380
AlmaLinux 10libattr-develFixed2.6.0-1.el10_2ALSA-2026:59380
AlmaLinux 9attrFixed2.6.0-1.el9_8ALSA-2026:60226
AlmaLinux 9libattrFixed2.6.0-1.el9_8ALSA-2026:60226
AlmaLinux 9libattr-develFixed2.6.0-1.el9_8ALSA-2026:60226
AlmaLinux 8attrFixed2.6.0-1.el8_10ALSA-2026:56133
AlmaLinux 8libattrFixed2.6.0-1.el8_10ALSA-2026:56133
AlmaLinux 8libattr-develFixed2.6.0-1.el8_10ALSA-2026:56133
Rocky Linux 10attrFixed0:2.6.0-1.el10_2RLSA-2026:59380
Rocky Linux 9attrFixed0:2.6.0-1.el9_8RLSA-2026:60226
Rocky Linux 8attrFixed0:2.6.0-1.el8_10RLSA-2026:56133

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.