Vulnerability · Published Jun 29, 2026 · Assigned by VulnCheck

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

High 7.1

In plain English

A high-severity security flaw in attr from attr project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.1%top 96.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10attr2.6.0-1.el10_2ALSA-2026:59380
AlmaLinux:8attr2.6.0-1.el8_10ALSA-2026:56133
AlmaLinux:9attr2.6.0-1.el9_8ALSA-2026:60226
AlmaLinux:10libattr2.6.0-1.el10_2ALSA-2026:59380
AlmaLinux:8libattr2.6.0-1.el8_10ALSA-2026:56133
AlmaLinux:9libattr2.6.0-1.el9_8ALSA-2026:60226
AlmaLinux:10libattr-devel2.6.0-1.el10_2ALSA-2026:59380
AlmaLinux:8libattr-devel2.6.0-1.el8_10ALSA-2026:56133
AlmaLinux:9libattr-devel2.6.0-1.el9_8ALSA-2026:60226
Debian:12attrno fix listedDEBIAN-CVE-2026-54371
Debian:13attrno fix listedDEBIAN-CVE-2026-54371
Debian:14attr1:2.6.0-1DEBIAN-CVE-2026-54371
Rocky Linux:10attr0:2.6.0-1.el10_2RLSA-2026:59380
Rocky Linux:8attr0:2.6.0-1.el8_10RLSA-2026:56133
Rocky Linux:9attr0:2.6.0-1.el9_8RLSA-2026:60226
Ubuntu:22.04:LTSattr1:2.5.1-1ubuntu0.1UBUNTU-CVE-2026-54371
Ubuntu:22.04:LTSattr1:2.5.1-1ubuntu0.1USN-8691-1
Ubuntu:24.04:LTSattr1:2.5.2-1ubuntu0.1USN-8691-1
Ubuntu:24.04:LTSattr1:2.5.2-1ubuntu0.1UBUNTU-CVE-2026-54371
Ubuntu:25.10attrno fix listedUBUNTU-CVE-2026-54371
Ubuntu:26.04:LTSattr1:2.5.2-4ubuntu0.1USN-8691-1
Ubuntu:26.04:LTSattr1:2.5.2-4ubuntu0.1UBUNTU-CVE-2026-54371

Affected products (as reported)

VendorProductVersions
attr project attr 0 – before 2.6.0

Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References