CVE-2026-107784
6.3medium
tarfile extraction filters accept drive-relative paths on Windows
- Severity
- 6.3medium CVSS:4.0 by PSF
- Exploit likelihood
- 1.20% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Python Software Foundation CPython | before 3.16.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-107784 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2026-107784 changed 2026-11-24 | Public domain |