PT-2026-160246
CVE-2026-137507
·
Published
2026-11-26
·
Updated
2026-11-27
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions
torchvision versions prior to 0.29.2
Description
A path traversal issue exists in the
extract tar() function. Attackers can write files outside the intended extraction directory by providing specially crafted tar archives. By controlling archives passed to the extract archive() or download and extract archive() functions, an attacker can use absolute paths, symlinks, or .. paths to overwrite Python modules, which may lead to arbitrary code execution.Recommendations
Update torchvision to version 0.29.2 or later.
As a temporary mitigation, restrict the use of the
extract archive() and download and extract archive() functions when processing archives from untrusted sources. Found an issue in the description? Have something to add? Feel free to write us 👾