Tarfile extraction filters accept drive-relative paths on Windows
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Python Software Foundation CPython from 0 before 3.16.0 on Windows has a flaw in the tarfile "tar" and "data" extraction filters, which do not reject member names or link targets that have a drive but no root, such as "C:foo" (CWE-22, CWE-59). A remote attacker without privileges or user interaction who can supply a crafted tar archive can write files outside the extraction destination or create a symbolic link that points outside it.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Python Software Foundation | CPython | before 3.16.0 | 3.16.0 | Patch available | CNA |
- CPython VendorPython Software Foundation Affected before 3.16.0 Fixed in 3.16.0 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | — | — | python-pillow |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions — — ·python-pillow
Remediation
Upgrade Python Software Foundation CPython to version 3.16.0 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
- Fix · CNA CPython (Python Software Foundation) Fixed in 3.16.0
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 8 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Hardened Images
- Self-service automation portal 2
Timeline
- 2026-11-23 Threatist record created from CVE-2026-107784
- 2026-11-23 1 new reference · CNA
- 2026-11-23 1 new reference · CNA
- 2026-11-23 Alias added: GHSA-jgcj-v5rv-rwh7
- 2026-11-24 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the 50th–90th percentile
- 2026-11-26 Affected versions changed · Red Hat
- 2026-11-26 CVSS score added · Red Hat
References
More Python Software Foundation vulnerabilities
- TI-2024-07037 Quadratic complexity parsing cookies with backslashes CVSS 3.1HIGH 7.5
- TI-2024-11791 Bypass extraction filter to modify file metadata outside extraction directory CVSS 3.1MEDIUM 5.3
- TI-2024-00411 Quoted zip-bomb protection for zipfile CVSS 3.1MEDIUM 6.2
- TI-2026-13296 `HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching CVSS 4.0MEDIUM 6.0
- TI-2024-06422 Email header injection due to unquoted newlines CVSS 3.1MEDIUM 5.5
- TI-2026-04606 Possible to hijack modules in current working directory CVSS 4.0MEDIUM 5.6
Sources
- CVE-2026-107784 · CVE Program
- CVE-2026-107784 · NVD
- FIRST EPSS
- GHSA-jgcj-v5rv-rwh7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-107784 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences