Skip to main content
VulnerabilityPublished Updated

CVE-2026-66484: GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality

Affects cpioSource GCVE Database

0
Compare
Authoritative record:CVE-2026-66484· Medium 4.6

Not known to be exploited · CVSS 4.6 Medium · fixed in 2.11+dfsg-1ubuntu1.2+esm3 : update cpio when convenient.

Data as of 24 Nov 2026, 20:56 UTC

CVSS 4.0 base score
4.6Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.11+dfsg-1ubuntu1.2+esm3, 2.11+dfsg-5ubuntu1.1+esm2, 2.12+dfsg-6ubuntu0.18.04.4+esm1 +4
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTScpiopkg:deb/ubuntu/cpio?arch=source&distro=resoluteOther threatsAffected
  • <2.15+dfsg-2.1ubuntu0.1
  • =2.15+dfsg-2ubuntu1
Fixed in
  • 2.15+dfsg-2.1ubuntu0.1
Ubuntu 24.04 LTScpiopkg:deb/ubuntu/cpio?arch=source&distro=nobleOther threatsAffected
  • <2.15+dfsg-1ubuntu2.1
Fixed in
  • 2.15+dfsg-1ubuntu2.1
Ubuntu 22.04 LTScpiopkg:deb/ubuntu/cpio?arch=source&distro=jammyOther threatsAffected
  • <2.13+dfsg-7ubuntu0.2
Fixed in
  • 2.13+dfsg-7ubuntu0.2
Ubuntu Pro 20.04 LTScpiopkg:deb/ubuntu/cpio?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2.13+dfsg-2ubuntu0.4+esm1
Fixed in
  • 2.13+dfsg-2ubuntu0.4+esm1
Ubuntu Pro 18.04 LTScpiopkg:deb/ubuntu/cpio?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.12+dfsg-6ubuntu0.18.04.4+esm1
Fixed in
  • 2.12+dfsg-6ubuntu0.18.04.4+esm1
Ubuntu Pro 16.04 LTScpiopkg:deb/ubuntu/cpio?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • <2.11+dfsg-5ubuntu1.1+esm2
Fixed in
  • 2.11+dfsg-5ubuntu1.1+esm2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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

References

Community reviews

Loading reviews…