Bug 2513960 - CVE-2026-66484 cpio: GNU cpio: Path Traversal allows creating hard links outside intended directory via malicious tar archives. [fedora-all]
Summary: CVE-2026-66484 cpio: GNU cpio: Path Traversal allows creating hard links outs...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: cpio
Version: 45
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["80bd5b9e-041d-4c8f-805d-4...
Depends On:
Blocks: CVE-2026-66484
TreeView+ depends on / blocked
 
Reported: 2026-08-11 13:12 UTC by Thibault Guittet
Modified: 2026-08-17 15:52 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thibault Guittet 2026-08-11 13:12:56 UTC
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 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

Comment 1 Aoife Moloney 2026-08-17 15:52:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.