attr — security advisory
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
- attr
- Affected versions
- 1:2.5.1-4, 1:2.5.1-5, 1:2.5.2-1, 1:2.5.2-2, 1:2.5.2-3, 1:2.5.2-4, 1:2.6.0-1
- Fixed versions
- 1:2.6.0-1
- CVEs
- CVE-2026-54371
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:22 UTC · Revision 2
Source evidence
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:DEBIAN-CVE-2026-54371
attr
Fixed versions: Not specified
attr
Fixed versions: Not specified
attr
Fixed versions: 1:2.6.0-1
Complete source record
{
"id": "0f3f0806a1871ea8ce754e68b7cf512233791f491a29af11e97721105bd87069",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-54371",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-54371",
"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:DEBIAN-CVE-2026-54371",
"products": [
{
"name": {
"value": "attr",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:2.5.1-4",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.5.1-5",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.5.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.5.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.5.2-3",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.5.2-4",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.6.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "attr",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:2.5.2-3",
"evidence": "/affected/1/versions"
},
{
"value": "1:2.5.2-4",
"evidence": "/affected/1/versions"
},
{
"value": "1:2.6.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "attr",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2.6.0-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "1:2.5.2-3",
"evidence": "/affected/2/versions"
},
{
"value": "1:2.5.2-4",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-54371",
"aliases": [
"DEBIAN-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/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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "attr",
"purl": "pkg:deb/debian/attr?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1:2.5.1-4",
"1:2.5.1-5",
"1:2.5.2-1",
"1:2.5.2-2",
"1:2.5.2-3",
"1:2.5.2-4",
"1:2.6.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54371.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "attr",
"purl": "pkg:deb/debian/attr?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1:2.5.2-3",
"1:2.5.2-4",
"1:2.6.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54371.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.6.0-1"
}
]
}
],
"package": {
"name": "attr",
"purl": "pkg:deb/debian/attr?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1:2.5.2-3",
"1:2.5.2-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54371.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T11:47:34.709388452Z",
"provider": "osv",
"upstream": [
"CVE-2026-54371"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-54371"
]
},
"related_cves": [
{
"value": "CVE-2026-54371",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450921,
"published_at": "2026-06-29T14:16:57.823+00:00"
}