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&#39;s linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file&#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&#39;s mode, owner, and timestamps to the shared inode during extraction alone.
Impacto
Puntuación base 3.x
7.50
Gravedad 3.x
ALTA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:a:archive\:\:tar_project:archive\:\:tar:*:*:*:*:*:perl:*:* | 3.08 (excluyendo) |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



