CVE-2026-107784: Python Software Foundation CPython Path Traversal

CVE-2026-107784

NVD

Vulnerability Summary

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.
Severity Level
MEDIUM(6.3)
Published Date
Nov 23, 2026
Last Modified
Nov 24, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
1.20%Probability
Root Weakness (CWE)
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
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
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • Python Software Foundation CPython < 3.16.0
Patched Versions
  • Python Software Foundation CPython 3.16.0

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Python Software Foundation CPython and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 23, 2026Published
  • Nov 24, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Python Software Foundation CPython CVEsYou are reading CVE-2026-107784. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 15:49 UTC