---
title: "CVE-2026-137507"
canonical_url: "https://pkgseek.com/security/CVE-2026-137507"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-137507

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.

CVE-2026-137507 is rated MEDIUM (6.5), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-torchvision | 0.21.0-3 | — |
