SecurityContext

CVE-2026-42496: Archive::Tar - Path Traversal

  • Cve: CVE-2026-42496
  • Name: Archive::Tar - Path Traversal
  • 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.
  • Impact: Attackers can create symlinks to arbitrary paths, enabling reading or writing files outside the extraction directory.
  • Remediation: Update to version 3.08 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00502
  • Epss percentile: 0.43807
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2026-05-26T02:16:40Z
  • Age in days: 182
  • Modified at: 2026-11-10T13:19:07Z
  • Patch available: yes
  • References total: 11
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42496
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patchPatch
https://www.cve.org/CVERecord?id=CVE-2026-42497Third Party Advisory
https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changesRelease Notes
https://access.redhat.com/errata/RHSA-2026:30851
https://access.redhat.com/errata/RHSA-2026:30852
https://access.redhat.com/errata/RHSA-2026:30856
https://access.redhat.com/errata/RHSA-2026:30857
https://access.redhat.com/security/cve/CVE-2026-42496
https://bugzilla.redhat.com/show_bug.cgi?id=2481314
https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Products

ProductAffectedPlatform boundSourcesUrl
archive::tar_project:archive::tar< 3.08nonvd/v1/products/archive::tar_project/archive::tar

Projects

RepositoryLink kindsIndexedUrl
jib/archive-tar-newcommit, fixyes/v1/repositories/jib/archive-tar-new

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts