ubuntu-cve-2026-66484
Vulnerability from osv_ubuntu
GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality. When extracting a tar archive in copy-in mode with the --no-absolute-filenames option, the extracted file name is normalized but the tar hard-link target is passed to the link_to_name function without equivalent sanitization before calling link function. A tar archive provided by an attacker, containing a hard-link entry whose linkname is set to an absolute path outside the extraction directory, can cause cpio to create a hard link to an existing file outside the intended extraction directory, breaking the expected guarantee of --no-absolute-filenames and allowing archive-controlled linkage to external files. This issue has been fixed in commit e2b9cbdd3354d2b1569b7390d1bc15c1930559ad
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cpio",
"binary_version": "2.11+dfsg-1ubuntu1.2+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "cpio",
"purl": "pkg:deb/ubuntu/cpio@2.11+dfsg-1ubuntu1.2+esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.11+dfsg-1ubuntu1",
"2.11+dfsg-1ubuntu1.1",
"2.11+dfsg-1ubuntu1.2",
"2.11+dfsg-1ubuntu1.2+esm1",
"2.11+dfsg-1ubuntu1.2+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cpio",
"binary_version": "2.11+dfsg-5ubuntu1.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "cpio",
"purl": "pkg:deb/ubuntu/cpio@2.11+dfsg-5ubuntu1.1+esm1?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.11+dfsg-4.1ubuntu1",
"2.11+dfsg-5ubuntu1",
"2.11+dfsg-5ubuntu1.1",
"2.11+dfsg-5ubuntu1.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cpio",
"binary_version": "2.12+dfsg-6ubuntu0.18.04.4"
},
{
"binary_name": "cpio-win32",
"binary_version": "2.12+dfsg-6ubuntu0.18.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "cpio",
"purl": "pkg:deb/ubuntu/cpio@2.12+dfsg-6ubuntu0.18.04.4?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.11+dfsg-6",
"2.12+dfsg-6",
"2.12+dfsg-6ubuntu0.18.04.1",
"2.12+dfsg-6ubuntu0.18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cpio",
"binary_version": "2.13+dfsg-2ubuntu0.4"
},
{
"binary_name": "cpio-win32",
"binary_version": "2.13+dfsg-2ubuntu0.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "cpio",
"purl": "pkg:deb/ubuntu/cpio@2.13+dfsg-2ubuntu0.4?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.12+dfsg-9",
"2.12+dfsg-9ubuntu1",
"2.13+dfsg-1",
"2.13+dfsg-2",
"2.13+dfsg-2ubuntu0.3",
"2.13+dfsg-2ubuntu0.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cpio",
"binary_version": "2.13+dfsg-7ubuntu0.1"
},
{
"binary_name": "cpio-win32",
"binary_version": "2.13+dfsg-7ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "cpio",
"purl": "pkg:deb/ubuntu/cpio@2.13+dfsg-7ubuntu0.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.13+dfsg-4ubuntu4",
"2.13+dfsg-7",
"2.13+dfsg-7ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cpio",
"binary_version": "2.15+dfsg-1ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "cpio",
"purl": "pkg:deb/ubuntu/cpio@2.15+dfsg-1ubuntu2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.13+dfsg-7.1",
"2.14+dfsg-1",
"2.15+dfsg-1",
"2.15+dfsg-1ubuntu1",
"2.15+dfsg-1ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cpio",
"binary_version": "2.15+dfsg-2.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "cpio",
"purl": "pkg:deb/ubuntu/cpio@2.15+dfsg-2.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.15+dfsg-2ubuntu1",
"2.15+dfsg-2.1"
]
}
],
"aliases": [],
"details": "GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality. When extracting a tar archive in copy-in mode with the --no-absolute-filenames option, the extracted file name is normalized but the tar hard-link target is passed to the link_to_name function without equivalent sanitization before calling link function. A tar archive provided by an attacker, containing a hard-link entry whose linkname is set to an absolute path outside the extraction directory, can cause cpio to create a hard link to an existing file outside the intended extraction directory, breaking the expected guarantee of --no-absolute-filenames and allowing archive-controlled linkage to external files. This issue has been fixed in commit e2b9cbdd3354d2b1569b7390d1bc15c1930559ad",
"id": "UBUNTU-CVE-2026-66484",
"modified": "2026-08-10T11:17:00Z",
"published": "2026-08-10T11:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-66484"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-66484"
},
{
"type": "REPORT",
"url": "https://cert.pl/en/posts/2026/08/CVE-2026-66484"
},
{
"type": "REPORT",
"url": "https://git.savannah.gnu.org/cgit/cpio.git"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-66484"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.