CVE-2026-107784 tarfile extraction filters accept drive-relative paths on Windows
MediumCVSS 6.3
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- DebianRed Hat
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Python Software Foundation CPython | < 3.16.0 | 3.16.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation CPython | < 3.16.0 | 3.16.0 |
References
- github.com patch
- github.com issue-tracking
- ENISA EUVD EUVD-2026-133109 third-party-advisory
- mail.python.org vendor-advisory
- nvd.nist.gov
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2581926 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-107784 vendor-advisory