CVE-2026-66484
published 2026-08-10CVE-2026-66484: GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality. When extracting a tar archive in copy-in mode with the…
PriorityP423medium4.6CVSS 4.0
AVLACLATNPRNUIAVCNVILVANSCNSILSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.16%
5.1th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gnu | cpio | <= 2.15 | — |
| gnu | cpio | — | — |
| ubuntu | cpio | — | — |
CVSS provenance
nvdv4.04.6MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/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
vendor_redhat4.6MEDIUM
vendor_ubuntu4.6MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality.
ghsa_unreviewed·2026-08-10
CVE-2026-66484 [MEDIUM] CWE-22 GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality.
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
Ubuntu
GNU cpio vulnerabilities
vendor_ubuntu·2026-08-31·CVSS 4.6
CVE-2026-66485 [MEDIUM] GNU cpio vulnerabilities
Title: GNU cpio vulnerabilities
Summary: Several security issues were fixed in GNU cpio.
It was discovered that cpio incorrectly sanitized hard-link targets when
extracting tar archives in copy-in mode. If a user or automated system
were tricked into extracting a specially crafted tar archive, an attacker
could possibly use this issue to create hard links to files outside the
extraction directory, even when using the --no-absolute-filenames option.
(CVE-2026-66484)
It was discovered that cpio did not properly bound the stack memory
allocated for pathnames during archive extraction. If a user or automated
system were tricked into extracting a specially crafted cpio archive, an
attacker could possibly use this issue to cause cpio to crash, resulting
in a denial of service. (CVE-2026-66485
Red Hat
cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives.
vendor_redhat·2026-08-10·CVSS 4.6
CVE-2026-66484 [MEDIUM] CWE-22 cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives.
cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives.
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 li
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-66484 cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives. [fedora-all]
bugzilla·2026-08-11·CVSS 4.6
CVE-2026-66484 [MEDIUM] CVE-2026-66484 cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives. [fedora-all]
CVE-2026-66484 cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives. [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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 i
Bugzilla
CVE-2026-66484 cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives.
bugzilla·2026-08-10·CVSS 4.6
CVE-2026-66484 [MEDIUM] CVE-2026-66484 cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives.
CVE-2026-66484 cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives.
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 archiv
2026-08-10
Published