{
  "id": "CVE-2026-82049",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-82049",
  "published_at": "2026-09-14T19:14:03.873Z",
  "title": "tarfile extraction filters allow file modification and content disclosure via hard link to symlink",
  "vendor": "Python Software Foundation",
  "product": "CPython",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA: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": "In CPython 3.13 and earlier, the tarfile module's data and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification time of a file outside the destination directory, or expose the contents of that file within the extracted tree.",
  "cwe": "CWE-59",
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Python Software Foundation",
        "product": "CPython",
        "ranges": [
          "\u003c 3.10.22",
          "\u003e= 3.11.0, \u003c 3.11.17",
          "\u003e= 3.12.0, \u003c 3.12.15",
          "\u003e= 3.13.0, \u003c 3.13.16",
          "\u003e= 3.14.0a1, \u003c 3.14.0b1"
        ],
        "fixed_in": [
          "3.10.22",
          "3.11.17",
          "3.12.15",
          "3.13.16",
          "3.14.0b1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade CPython to 3.10.22 or 3.11.17 or 3.12.15 or 3.13.16 or 3.14.0b1 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daeca"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/pull/157191"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/EFJWGAZJA56AKSBR2WHMHQZO7RRLZPRH/"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/197663d63afed27f66e10e23c194e8a634e60913"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/28f315486b3da0352b9a1de1c3c97f4127ba4771"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/c66df4e70435d257fd488b35ea129c6f317433a8"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
