Advisory

UBUNTU-CVE-2026-66484

Also known as: CVE-2026-66484

Summary

The record has no summary.

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

Severity

Not rated by the source.

Dates

Published
2026-08-10 11:17 UTC
Modified
2026-09-01 15:47 UTC

Affected packages and fixes

cpio

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.13+dfsg-7ubuntu0.2 (ecosystem)

Fixed versions

2.13+dfsg-7ubuntu0.2

Fix

  • Fixed version 2.13+dfsg-7ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cpio

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.15+dfsg-1ubuntu2.1 (ecosystem)

Fixed versions

2.15+dfsg-1ubuntu2.1

Fix

  • Fixed version 2.15+dfsg-1ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cpio

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.15+dfsg-2.1ubuntu0.1 (ecosystem)

Fixed versions

2.15+dfsg-2.1ubuntu0.1

Fix

  • Fixed version 2.15+dfsg-2.1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences