CVE 9.1 CRITICAL

Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory_CVE-2026-42496

9.1 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory.

_make_special_file() passes the tar header's linkname to symlink() without validating it against absolute paths or .. segments. The secure-extract mode check that guards regular file extraction does not cover the symlink target.

A subsequent open through the extracted name reads or writes the attacker chosen path.

AI Analysis

Archive::Tar before 3.08 for Perl allows attackers to extract symlinks with controlled targets outside the extraction directory.

Basic Information

ID CVE-2026-42496
Source CPANSec
Published May 26, 2026 at 00:17
Modified May 28, 2026 at 13:08

Affected Product

Vendor BINGOS
Product Archive::Tar
Affected Versions BINGOS Archive::Tar 0

CWE Classification

AI Assessment

AI Score 9.1 / 10
AI Severity CRITICAL
Vendor BINGOS
Product Archive::Tar
Version before 3.08

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.