// Security Advisory Triage

Python tarfile filters now reject drive-relative paths on Windows

Python security announcements · published 2026-11-24 00:00 UTC
WORTH KNOWING Check if you are exposed SecurityAPI
WHAT CHANGEDPython's tarfile "tar" and "data" extraction filters now refuse member names and link targets with a drive but no root (such as "C:foo") on Windows, raising AbsolutePathError and AbsoluteLinkError. Previously, these filters accepted such paths, which when extracting to a relative destination wrote files to the current working directory of that drive instead of the intended destination, and allowed symbolic links to point outside the destination. CVE-2026-107784 is assigned.
WHY IT MATTERSApplications extracting untrusted tar archives on Windows using the tar or data filters could write files outside the intended extraction directory or follow symbolic links to unintended locations, enabling path traversal attacks. The behavior change means archives with drive-relative paths that previously extracted will now raise an error.
WHAT TO DOVerify exposure: check if your services run on Windows and extract tar archives using Python's tarfile module with the tar or data filters. Remediation: see bulletin https://www.cve.org/CVERecord?id=CVE-2026-107784
Model-reported confidence 85% (not measured accuracy) Primary source ↗ Summary drafted by an AI model and checked by RADAR's rules
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## [Security-announce][CVE-2026-107784] tarfile extraction filters accept drive-relative paths on Windows
+https://mail.python.org/archives/list/security-announce@python.org/message/ANUOLPP6MFFJ45RT6XG2BRGZPFHMGDAS/
+Mon, 23 Nov 2026 12:40:09 +0000
+
+There is a MEDIUM severity vulnerability affecting CPython.
+
+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.
+
+Please see the linked CVE ID for the latest information on affected
+versions:
+
+* https://www.cve.org/CVERecord?id=CVE-2026-107784
+* https://github.com/python/cpython/pull/161334
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMaterial (MATERIAL) at 0.92, needed 0.5
triage reasoningPython tarfile extraction vulnerability affecting Windows deployments; tarfile is in standard library dependency tree.
signalsPython runtime vulnerability · tarfile module affects dependency tree · path traversal / extraction escape on Windows · affects normal service operations · CVE assigned and documented
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)