Path Traversal Vulnerability in torchvision by PyTorch
CVE-2026-137507

7.1HIGH

Key Information:

Vendor

Pytorch

Status
Vendor
CVE Published:
26 November 2026

What is CVE-2026-137507?

A vulnerability in torchvision (prior to version 0.29.2) allows attackers to exploit the _extract_tar() function, leading to potential file writing outside of the designated extraction directory. By utilizing specially crafted tar archives, attackers can manipulate the extraction process to inject harmful payloads through relative paths, absolute paths, or symbolic links. This can ultimately result in overwriting critical Python modules, opening the door for unauthorized code execution that can compromise the integrity of the affected system.

Affected Version(s)

vision 0 < 0.29.2

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Yeonghyeon Choi
Duyeong Kim
.