← VULNERABILITIES

CVE-2026-107784

tarfile extraction filters accept drive-relative paths on Windows

Medium · 6.3Fix available
CVSS
6.3
EPSS
1.20% (p68)
Published
2026-11-23
Age
6d old
Modified
2026-11-24
Product
Python Software Foundation CPython

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

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.

Fixed in

3.16.0

Affected packages

EcosystemPackageRangeFixed
vendorCPython>=0, <3.16.03.16.0

Sources

  • NVD · first seen 6d ago · NVD terms of use
  • CVE List · first seen 6d ago · CVE Terms of Use

References

JSON