{
  "id": "CVE-2026-42496",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42496",
  "published_at": "2026-05-26T00:17:19.11Z",
  "title": "Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory",
  "vendor": "BINGOS",
  "product": "Archive::Tar",
  "cvss": {
    "score": 9.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory.\n\n_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.\n\nA subsequent open through the extracted name reads or writes the attacker chosen path.",
  "cwe": "CWE-59",
  "cpes": [
    "cpe:2.3:a:archive\\:\\:tar_project:archive\\:\\:tar:*:*:*:*:*:perl:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 9.1,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "BINGOS",
        "product": "Archive::Tar",
        "ranges": [
          "\u003c 3.08"
        ],
        "fixed_in": [
          "3.08"
        ]
      }
    ],
    "solutions": [
      "Upgrade to Archive::Tar 3.08 or later."
    ],
    "upgrade": [
      "Upgrade Archive::Tar to 3.08 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch"
      },
      {
        "kind": "Release notes",
        "url": "https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changes"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
