CVE-2026-137507

torchvision before 0.29.2 Path Traversal via Tar Archive Extraction

Published Nov 26, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 26, 2026, 8:02 PM
Reserved
Nov 26, 2026, 12:43 PM
Status
Received
Published
Nov 26, 2026, 8:17 PM
Modified
Nov 26, 2026, 8:17 PM