Skip to content
OpenAdvisories
High · 7.1 CVE-2026-54371 EUVD-2026-40087GHSA-hh95-r7mj-c9j5

attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr

Published Jun 29, 2026 · Updated Sep 11, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
attr project attr < 2.6.0 2.6.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 attr 1:2.6.0-1 —
Debian 13 attr No fix yet —
Debian 12 attr No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS attr 1:2.5.2-4ubuntu0.1 USN-8691-1
Ubuntu 25.10 attr No fix yet —
Ubuntu 24.04 LTS attr 1:2.5.2-1ubuntu0.1 USN-8691-1
Ubuntu 22.04 LTS attr 1:2.5.1-1ubuntu0.1 USN-8691-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS attr 1:2.4.48-5ubuntu0.1~esm1 USN-8691-1
Ubuntu Pro 18.04 LTS attr 1:2.4.47-2ubuntu0.18.04.1~esm1 USN-8691-1
Ubuntu Pro 16.04 LTS attr 1:2.4.47-2ubuntu0.16.04.1~esm1 USN-8691-1
Ubuntu Pro 14.04 LTS attr 1:2.4.47-1ubuntu1+esm1 USN-8691-1
ReleasePackageFixed inAdvisory
RHEL 10 attr +2 2.6.0-1.el10_2 RHSA-2026:59380
RHEL 9 attr +2 2.6.0-1.el9_8 RHSA-2026:60226
RHEL 8 attr +2 2.6.0-1.el8_10 RHSA-2026:56133
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 attr +2 2.6.0-1.hum1 RHSA-2026:34889

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 attr +2 2.6.0-1.el10_2 ALSA-2026:59380
AlmaLinux 9 attr +2 2.6.0-1.el9_8 ALSA-2026:60226
AlmaLinux 8 attr +2 2.6.0-1.el8_10 ALSA-2026:56133

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 attr 2.6.0-1.el10_2 RLSA-2026:59380
Rocky Linux 9 attr 2.6.0-1.el9_8 RLSA-2026:60226
Rocky Linux 8 attr 2.6.0-1.el8_10 RLSA-2026:56133
ReleasePackageFixed inAdvisory
SLES 15 SP7 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLES 15 SP7 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLES 15 SP6 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLES 15 SP6 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLES 15 SP5 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLES 15 SP5 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLES 15 SP4 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLES 15 SP4 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 acl 2.4.0-160000.1.1 SUSE-SU-2026:23726-1, SUSE-SU-2026:23705-1
SLES for SAP 16.0 attr 2.6.0-160000.1.1 SUSE-SU-2026:23726-1, SUSE-SU-2026:23705-1
SLES for SAP 15 SP6 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLES for SAP 15 SP6 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLES for SAP 15 SP5 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLES for SAP 15 SP5 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLES for SAP 15 SP4 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLES for SAP 15 SP4 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLES 16.0 acl 2.4.0-160000.1.1 SUSE-SU-2026:23726-1, SUSE-SU-2026:23705-1
SLES 16.0 attr 2.6.0-160000.1.1 SUSE-SU-2026:23726-1, SUSE-SU-2026:23705-1
SLE Micro 6.2 acl 2.4.0-160000.1.1 SUSE-SU-2026:23670-1
SLE Micro 6.2 attr 2.6.0-160000.1.1 SUSE-SU-2026:23670-1
SLE Micro 5.5 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLE Micro 5.5 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLE Micro 5.4 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLE Micro 5.4 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLE Micro 5.3 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLE Micro 5.3 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLE HPC 15 SP5 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLE HPC 15 SP5 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
SLE HPC 15 SP4 acl 2.4.0-150000.4.6.1 SUSE-SU-2026:4176-1
SLE HPC 15 SP4 attr 2.6.0-150000.4.3.1 SUSE-SU-2026:4176-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed acl 2.4.0-1.1 openSUSE-SU-2026:11312-1
openSUSE Leap 16.0 acl 2.4.0-160000.1.1 openSUSE-SU-2026:21832-1
openSUSE Leap 16.0 attr 2.6.0-160000.1.1 openSUSE-SU-2026:21832-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 acl 2.4.0-1 —
Azure Linux 3 attr 2.6.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 attr +2 2.6.0-1.el10_2 ELSA-2026-59380
Oracle Linux 8 attr +2 2.6.0-1.el8_10 ELSA-2026-56133

Advisories 21

References