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…

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

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

Description

CVE-2026-42496 is a vulnerability in BINGOS Archive::Tar for Perl versions before 3. 08 where symlinks are extracted without proper validation of their targets. This allows attacker-controlled symlink targets to point outside the intended extraction directory, potentially leading to unauthorized file read or write operations. The secure-extract mode does not validate symlink targets, only regular files. No patch or official remediation has been confirmed yet.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/26/2026, 01:40:27 UTC

Technical Analysis

The vulnerability arises because the _make_special_file() function in Archive::Tar passes the tar header's linkname directly to the symlink() system call without validating whether the target path is absolute or contains directory traversal sequences (e.g., '..'). This improper link resolution (CWE-59) allows an attacker to craft a tar archive with symlinks pointing outside the extraction directory. When the archive is extracted, these symlinks can cause subsequent file operations to access attacker-chosen paths, potentially leading to unauthorized file access or modification. The secure-extract mode that guards regular file extraction does not apply to symlink targets, leaving this attack vector open.

Potential Impact

Successful exploitation can lead to unauthorized reading or writing of files outside the intended extraction directory, which may compromise system integrity or confidentiality depending on the context in which Archive::Tar is used. There are no known exploits in the wild at this time. The impact depends on how the extracted files are subsequently accessed and the privileges of the process performing extraction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid extracting untrusted tar archives with vulnerable versions of Archive::Tar or implement manual validation of symlink targets before extraction. Consider running extraction in a restricted environment or with least privilege to limit potential impact.

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

Threat ID: 6a14f66ba5ae1af1aa17609c

Added to database: 5/26/2026, 1:24:59 AM

Last enriched: 5/26/2026, 1:40:27 AM

Last updated: 5/26/2026, 2:34:31 AM

Views: 4

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