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.
History

Thu, 26 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Pytorch
Pytorch vision
Vendors & Products Pytorch
Pytorch vision

Thu, 26 Nov 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title torchvision before 0.29.2 Path Traversal via Tar Archive Extraction
First Time appeared Linuxfoundation
Linuxfoundation torchvision
Weaknesses CWE-22
CPEs cpe:2.3:a:linuxfoundation:torchvision:*:*:*:*:*:*:*:*
Vendors & Products Linuxfoundation
Linuxfoundation torchvision
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 7.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-26T20:02:35.371Z

Updated: 2026-11-26T20:02:35.371Z

Reserved: 2026-11-26T12:43:17.050Z

Link: CVE-2026-137507

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-26T20:17:23.800

Modified: 2026-11-26T20:17:23.800

Link: CVE-2026-137507

cve-icon Redhat

No data.