Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-42497

Gravedad CVSS v3.1:
ALTA
Tipo:
CWE-59 Incorrecta resolución de una ruta antes de aceder a un fichero (Seguimiento de enlaces)
Fecha de publicación:
26/05/2026
Última modificación:
28/05/2026

Descripción

*** Pendiente de traducción *** Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory.<br /> <br /> _make_special_file() passes the tar header&amp;#39;s linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file&amp;#39;s inode.<br /> <br /> A subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header&amp;#39;s mode, owner, and timestamps to the shared inode during extraction alone.

Productos y versiones vulnerables

CPE Desde Hasta
cpe:2.3:a:archive\:\:tar_project:archive\:\:tar:*:*:*:*:*:perl:*:* 3.08 (excluyendo)