CVE Watchtower

CVE-2026-66484GNU cpio Path Traversal

NVD

Vulnerability Summary

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
Severity Level
UNKNOWN
Published Date
Aug 10, 2026
Last Modified
Aug 10, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.16%Probability
Root Weakness (CWE)
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory.
CVSS v4.0 Base Metrics — Score 4.6 (MEDIUM)
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
Attack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionActive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)Low
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • GNU cpio <= 2.15
Patched Versions
  • GNU cpio 2.15

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run GNU cpio and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Aug 10, 2026Published
  • Aug 10, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new GNU cpio CVEsYou are reading CVE-2026-66484. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 29, 2026 01:08 UTC