attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54371
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:13 UTC · Revision 1
Source evidence
attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr
core-osv · Original sourcePublished 29 Jun 2026, 12:39 UTC
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.
osv:CVE-2026-54371
Complete source record
{
"id": "f2ddcbfac17ccd42a5eff1f0139ff0ee92e1762f2af97c277a05b7938a2154b4",
"url": "https://osv.dev/vulnerability/CVE-2026-54371",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "attr < 2.6.0 Symlink Traversal Privilege Escalation via getfattr/setfattr",
"summary": "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.",
"evidence": "osv:CVE-2026-54371",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-54371",
"aliases": [
"CVE-2026-54371"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://cgit.git.savannah.nongnu.org/cgit/attr.git",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c440855d6b33446edf4b5eb1a2d892281f15a99b"
},
{
"fixed": "49f79e947270f06940b9100fa638f85dddc4aa7f"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "c440855d6b33446edf4b5eb1a2d892281f15a99b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "49f79e947270f06940b9100fa638f85dddc4aa7f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54371.json"
}
}
],
"modified": "2026-10-31T10:30:16.983988487Z",
"provider": "osv",
"references": [
"https://savannah.nongnu.org/projects/attr/",
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54371.json",
"https://access.redhat.com/errata/RHSA-2026:34889",
"https://access.redhat.com/errata/RHSA-2026:56133",
"https://access.redhat.com/errata/RHSA-2026:59380",
"https://access.redhat.com/errata/RHSA-2026:60226",
"https://access.redhat.com/errata/RHSA-2026:61783",
"https://access.redhat.com/errata/RHSA-2026:63135",
"https://access.redhat.com/errata/RHSA-2026:63138",
"https://access.redhat.com/errata/RHSA-2026:66018",
"https://access.redhat.com/security/cve/CVE-2026-54371",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54371.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-54371",
"https://www.vulncheck.com/advisories/attr-symlink-traversal-privilege-escalation-via-getfattr-setfattr",
"https://bugzilla.redhat.com/show_bug.cgi?id=2490283",
"https://cgit.git.savannah.nongnu.org/cgit/attr.git/commit/?id=49f79e947270f06940b9100fa638f85dddc4aa7f",
"https://cgit.git.savannah.nongnu.org/cgit/attr.git/commit/?id=c440855d6b33446edf4b5eb1a2d892281f15a99b"
],
"provider_metadata": {
"cwe_ids": [
"CWE-59"
],
"cna_assigner": "VulnCheck",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "2.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "2.6.0"
}
],
"source": "CPE_FIELD",
"strategy": "CPEApplicability"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "2.6.0"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54371.json"
}
},
"related_cves": [
{
"value": "CVE-2026-54371",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 460112,
"published_at": "2026-06-29T12:39:23.594+00:00"
}