CVE catalog

CVE-2026-54371

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

[CVE catalog]

Severity
High · CVSS 8.4CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.15% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianattrsid1:2.6.0-1fixed
Debianattrforky1:2.6.0-1fixed
Debianattrtrixie1:2.5.2-3vulnerable
Debianattrbookworm1:2.5.1-4vulnerable
CpeattrNot reportedNot reportedvulnerable
Ubuntuattrnoble1:2.5.2-1ubuntu0.1fixed
Ubuntulibattr1noble1:2.5.2-1ubuntu0.1fixed
Ubuntulibattr1-devnoble1:2.5.2-1ubuntu0.1fixed
Ubuntuattrpro1:2.4.48-4vulnerable
Ubuntuattrpro1:2.4.48-5vulnerable
Ubuntuattrpro1:2.4.48-5ubuntu0.1~esm1fixed
Ubuntuattr22.041:2.4.48-6build2vulnerable
Ubuntuattr22.041:2.5.1-1vulnerable
Ubuntuattr22.041:2.5.1-1build1vulnerable
Ubuntuattr22.041:2.5.1-1ubuntu0.1fixed
Ubuntuattr24.041:2.5.1-4vulnerable
Ubuntuattr24.041:2.5.1-5vulnerable
Ubuntuattr24.041:2.5.2-1vulnerable
Ubuntuattr24.041:2.5.2-1build1vulnerable
Ubuntuattr24.041:2.5.2-1build1.1vulnerable
Ubuntuattr24.041:2.5.2-1ubuntu0.1fixed
Ubuntuattr26.041:2.5.2-3build1vulnerable
Ubuntuattr26.041:2.5.2-3build2vulnerable
Ubuntuattr26.041:2.5.2-4vulnerable
Ubuntuattr26.041:2.5.2-4ubuntu0.1fixed
Ubuntuattrpro1:2.4.48-4vulnerable
Ubuntuattrpro1:2.4.48-5vulnerable
Ubuntuattrpro1:2.4.48-5ubuntu0.1~esm1fixed
Ubuntuattr22.041:2.4.48-6build2vulnerable
Ubuntuattr22.041:2.5.1-1vulnerable
Ubuntuattr22.041:2.5.1-1build1vulnerable
Ubuntuattr22.041:2.5.1-1ubuntu0.1fixed
Ubuntuattr24.041:2.5.1-4vulnerable
Ubuntuattr24.041:2.5.1-5vulnerable
Ubuntuattr24.041:2.5.2-1vulnerable
Ubuntuattr24.041:2.5.2-1build1vulnerable
Ubuntuattr24.041:2.5.2-1build1.1vulnerable
Ubuntuattr24.041:2.5.2-1ubuntu0.1fixed
Ubuntuattr25.101:2.5.2-3vulnerable
Ubuntuattr25.101:2.5.2-3build1vulnerable
Ubuntuattr26.041:2.5.2-3build1vulnerable
Ubuntuattr26.041:2.5.2-3build2vulnerable
Ubuntuattr26.041:2.5.2-4vulnerable
Ubuntuattr26.041:2.5.2-4ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianattrsourcesid1:2.6.0-1not yet assignedNot reported[1141107]
Debianattrsourceforky1:2.6.0-1not yet assignedNot reported[1141107]
Debianattrsourcetrixie(unfixed)not yet assignedNot reported[1141107]
Debianattrsourcebookworm(unfixed)not yet assignedNot reported[1141107]
Ubuntuattrdebnoble1:2.5.2-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibattr1debnoble1:2.5.2-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibattr1-devdebnoble1:2.5.2-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntuattrdebpro1:2.4.48-5ubuntu0.1~esm1Not reportedUSN-8691-1Not reported
Ubuntuattrdeb22.041:2.5.1-1ubuntu0.1Not reportedUSN-8691-1Not reported
Ubuntuattrdeb24.041:2.5.2-1ubuntu0.1Not reportedUSN-8691-1Not reported
Ubuntuattrdeb26.041:2.5.2-4ubuntu0.1Not reportedUSN-8691-1Not reported
Ubuntuattrdebpro1:2.4.48-5ubuntu0.1~esm1Not reportedUBUNTU-CVE-2026-54371Not reported
Ubuntuattrdeb22.041:2.5.1-1ubuntu0.1Not reportedUBUNTU-CVE-2026-54371Not reported
Ubuntuattrdeb24.041:2.5.2-1ubuntu0.1Not reportedUBUNTU-CVE-2026-54371Not reported
Ubuntuattrdeb26.041:2.5.2-4ubuntu0.1Not reportedUBUNTU-CVE-2026-54371Not reported

[Debian bug #1141107]

Notes

[trixie] attr: Will be fixed first in unstable, then point release update; not to be backported by individual patches [bookworm] attr: Minor issue; local symlink-traversal in recursive getfattr/setfattr; fix is a complete walk_tree rewrite, high regression risk

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [attr]Affected
    Details (2)
    • 1:2.5.1-4 · amd64 · bookworm

      Affected

      nvd · attr · debian · bookworm; nvd · attr · debian · 12

    • 1:2.5.1-4 · arm64 · bookworm

      Affected

      nvd · attr · debian · bookworm; nvd · attr · debian · 12

  • [libattr1]Affected

    Source package: [attr]

    Details (2)
    • 1:2.5.1-4 · amd64 · bookworm

      Affected

      nvd · attr · debian · bookworm; nvd · attr · debian · 12

    • 1:2.5.1-4 · arm64 · bookworm

      Affected

      nvd · attr · debian · bookworm; nvd · attr · debian · 12

  • [libattr1-dev]Affected

    Source package: [attr]

    Details (2)
    • 1:2.5.1-4 · amd64 · bookworm

      Affected

      nvd · attr · debian · bookworm; nvd · attr · debian · 12

    • 1:2.5.1-4 · arm64 · bookworm

      Affected

      nvd · attr · debian · bookworm; nvd · attr · debian · 12

[Debian 13 (Trixie)]

  • [attr]Affected
    Details (2)
    • 1:2.5.2-3 · amd64 · trixie

      Affected

      nvd · attr · debian · 13

    • 1:2.5.2-3 · arm64 · trixie

      Affected

      nvd · attr · debian · 13

  • [libattr1]Affected

    Source package: [attr]

    Details (2)
    • 1:2.5.2-3 · amd64 · trixie

      Affected

      nvd · attr · debian · 13

    • 1:2.5.2-3 · arm64 · trixie

      Affected

      nvd · attr · debian · 13

  • [libattr1-dev]Affected

    Source package: [attr]

    Details (2)
    • 1:2.5.2-3 · amd64 · trixie

      Affected

      nvd · attr · debian · 13

    • 1:2.5.2-3 · arm64 · trixie

      Affected

      nvd · attr · debian · 13

Observed:

References

[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]