Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-42496: CWE-59 Improper Link Resolution Before File Access ('Link Following') in BINGOS Archive::Tar

0
Critical
VulnerabilityCVE-2026-42496cvecve-2026-42496cwe-59
Published: 05/26/2026 (05/26/2026, 00:17:19 UTC)
Source: CVE Database V5
Vendor/Project: BINGOS
Product: Archive::Tar

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.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 09:16:40 UTC

Technical Analysis

The vulnerability in Archive::Tar versions prior to 3.08 arises because the _make_special_file() function passes the tar header's linkname directly to symlink() without validating whether the target path is absolute or contains directory traversal sequences (e.g., '..'). The secure-extract mode, which guards regular file extraction, does not apply to symlink targets. Consequently, an attacker can craft a tar archive with malicious symlinks that point outside the extraction directory, enabling subsequent file operations on arbitrary paths chosen by the attacker. This is classified under CWE-59 (Improper Link Resolution Before File Access) and CWE-22 (Path Traversal). The CVSS v3.1 score is 9.1 (critical), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and high confidentiality and integrity impact.

Potential Impact

An attacker can create a malicious tar archive that, when extracted by vulnerable versions of Archive::Tar, creates symbolic links pointing outside the extraction directory. This can lead to arbitrary file read or write operations on the system, potentially compromising confidentiality and integrity of files. The vulnerability does not impact availability. The CVSS score of 9.1 indicates a critical severity level.

Mitigation Recommendations

Red Hat has issued security advisories and updates addressing this vulnerability. Updated packages for perl-Archive-Tar are available for Red Hat Enterprise Linux 10 and related variants. Users should apply these official patches to remediate the issue. Refer to Red Hat advisory RHSA-2026:30857 and the linked article https://access.redhat.com/articles/11258 for update instructions. Patch status is confirmed by the vendor advisories. No alternative mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-04-27T18:34:48.417Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-42496","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30857","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30851","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30856","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30852","vendor":"Red Hat"}]

Threat ID: 6a14f66ba5ae1af1aa17609c

Added to database: 05/26/2026, 01:24:59 UTC

Last enriched: 07/15/2026, 09:16:40 UTC

Last updated: 07/25/2026, 23:05:26 UTC

Views: 116

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses