CVE-2026-137507
Published:November 26, 2026
Updated:December 01, 2026
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.
Affected Packages
torchvision (CONDA):
Affected version(s) >=0.4.0 <0.29.2Fix Suggestion:
Update to version 0.29.2https://github.com/pytorch/vision.git (GITHUB):
Affected version(s) >=v0.4.0 <v0.29.2Fix Suggestion:
Update to version v0.29.2torchvision (PYTHON):
Affected version(s) >=0.4.0 <0.29.2Fix Suggestion:
Update to version 0.29.2Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory
EPSS
Base Score:
0.68