← VULNERABILITIES

CVE-2026-137507

torchvision before 0.29.2 Path Traversal via Tar Archive Extraction

High · 7.1Fix available
CVSS
7.1
EPSS
0.69% (p48)
Published
2026-11-26
Age
2d old
Modified
2026-11-26
Product
pytorch vision

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

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.

Fixed in

0.29.2

Affected packages

EcosystemPackageRangeFixed
vendorvision>=0, <0.29.20.29.2

Sources

  • NVD · first seen 2d ago · NVD terms of use
  • OSV · first seen 2d ago · CC-BY 4.0
  • CVE List · first seen 2d ago · CVE Terms of Use

References

JSON