# CVE-2026-107784: tarfile extraction filters accept drive-relative paths on Windows

- Severity: Medium 6.3 (CVSS:4.0, scored by PSF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.20%, higher than 68% of CVEs (2026-12-01)
- Published: 2026-11-23T15:27:44.908Z
- Modified: 2026-11-24T16:17:53.107Z
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## Description

On Windows, the tarfile "tar" and "data" extraction filters did not reject member names or link targets that have a drive but no root, such as "C:foo". When extracting to a relative destination, such a member was written to the current working directory of that drive instead of the destination, and a symbolic link with such a target pointed outside the destination. The filters now refuse these member names and link targets with AbsolutePathError and AbsoluteLinkError.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.16.0

## References

- <https://github.com/python/cpython/pull/161334> (patch)
- <https://github.com/python/cpython/issues/161323> (issue-tracking)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/ANUOLPP6MFFJ45RT6XG2BRGZPFHMGDAS/> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/11/23/18>

## Sources

- CVE List: [CVE-2026-107784](https://www.cve.org/CVERecord?id=CVE-2026-107784), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-107784](https://nvd.nist.gov/vuln/detail/CVE-2026-107784), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-107784 · Whole record: https://cve.day/CVE-2026-107784.json · Rebuilt by cve.day 2026-11-25T22:59:52.654Z
