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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-59
- **Published:** 2026-06-29T12:39:23.594Z
- **Modified:** 2026-10-25T21:10:00.770Z

## Who should check

- Anyone running attr project attr \< 2.6.0

## 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 and fixed versions

- attr project attr: \< 2.6.0 (cvelist)

## Mitigation

- Upgrade attr to 2.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54371. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54371.md
Affected: attr project attr < 2.6.0
Fixed in: attr project attr 2.6.0

Steps:
1. Search this machine and project for attr project attr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54371 being exploited?

There is no confirmed exploitation: CVE-2026-54371 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54371?

High: CVSS 8.4 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-54371?

attr project attr \< 2.6.0.

### Is there a fix for CVE-2026-54371?

Yes. Fixed in attr project attr 2.6.0. Upgrade attr to 2.6.0 or later.

### How do I check if I'm affected by CVE-2026-54371?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:59380>
- vendor: <https://access.redhat.com/errata/RHSA-2026:60226>
- vendor: <https://access.redhat.com/errata/RHSA-2026:56133>
- vendor: <https://access.redhat.com/errata/RHSA-2026:63135>
- vendor: <https://access.redhat.com/errata/RHSA-2026:63138>
- vendor: <https://access.redhat.com/errata/RHSA-2026:61783>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34889>
- vendor: <https://access.redhat.com/errata/RHSA-2026:66018>
- patch: <https://cgit.git.savannah.nongnu.org/cgit/attr.git/commit/?id=c440855d6b33446edf4b5eb1a2d892281f15a99b>
- other: <https://cgit.git.savannah.nongnu.org/cgit/attr.git/commit/?id=49f79e947270f06940b9100fa638f85dddc4aa7f>
- other: <https://www.vulncheck.com/advisories/attr-symlink-traversal-privilege-escalation-via-getfattr-setfattr>
- other: <https://access.redhat.com/security/cve/CVE-2026-54371>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2490283>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54371.json>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54371>

HTML: <https://flawdb.com/CVE-2026-54371> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54371>
