CVE-2026-54371
attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr
- State
- Published
- Severity
- 8.4 High
- Published
- Jun 29, 2026
- Updated
- Sep 11, 2026
- Reserved
- Jun 12, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.4 High | 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 | VulnCheck |
| 3.1 | 7.1 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | VulnCheck |
| 3.1 | 6.3 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | redhat-SADP |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
Affected Products
| Product | Versions |
|---|---|
attrattr project |
|
References
- https://cgit.git.savannah.nongnu.org/cgit/attr.git/commit/?id=c440855d6b33446edf4b5eb1a2d892281f15a99bpatch
- https://cgit.git.savannah.nongnu.org/cgit/attr.git/commit/?id=49f79e947270f06940b9100fa638f85dddc4aa7fissue-tracking
- https://www.vulncheck.com/advisories/attr-symlink-traversal-privilege-escalation-via-getfattr-setfattrthird-party-advisory
- https://access.redhat.com/security/cve/CVE-2026-54371vdb-entry
- RHBZ#2490283issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54371.json
- https://access.redhat.com/errata/RHSA-2026:59380vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60226vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:56133vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:63135vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:63138vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:61783vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34889vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:66018vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.