All vulnerabilities

PyPI

CVE-2026-137507

torchvision before 0.29.2 Path Traversal via Tar Archive Extraction

Severity
High 7.1
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
0.29.2
Exploit chance
0.7% in the next 30 daysHigher than 47% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · Needs someone to view a page or file
Attacker can
Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

torchvision before 0.29.2 contains a path traversal vulnerability in _extract_tar() that allows attackers to write files outside the extraction directory by supplying crafted tar archives. Attackers controlling archives passed to extract_archive() or download_and_extract_archive() can use .. paths, absolute paths, or symlinks to overwrite Python modules and achieve code execution.

From the CVE Program.

Affected software

SoftwareAffected versions
torchvisionPyPI · osv:PyPI:torchvision
  • Every version before 0.29.2

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 4 vulnerable
PackageDebian releaseStatus
pytorch-visionsidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo security update; the fix may come in a point release. Debian: Minor issue
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-137507 , read in the last 12 hours.

About torchvision

Weekly downloads (PyPI)
4,581,326PyPI Stats, 26 Nov 2026

This is the only vulnerability in torchvision in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137507