tarfile extraction filters accept drive-relative paths on Windows
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 23, 2026
- Updated
- Nov 24, 2026
- Reserved
- Oct 8, 2026
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.
| Product | Versions |
|---|---|
| CPython Python Software Foundation | before 3.16.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | PSF |
Weaknesses
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.