# CVE-2026-137507: torchvision before 0.29.2 Path Traversal via Tar Archive Extraction

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-26 · Modified: 2026-12-01
- Aliases: UBUNTU-CVE-2026-137507, DEBIAN-CVE-2026-137507, openSUSE-SU-2026:12751-1
- Record: https://cvemate.com/vulnerability/CVE-2026-137507 · JSON: https://cvemate.com/vulnerability/CVE-2026-137507/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) 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
- EPSS: 0.942%, percentile 62.18%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian pytorch-vision (Debian): All versions (No fix recorded)
- ubuntu pytorch-vision (Ubuntu): All versions (No fix recorded)
- pytorch vision: \< 0.29.2
- opensuse python-torchvision (openSUSE): \< 0.29.2-1.1

## References

- <https://github.com/pytorch/vision/issues/9517>
- <https://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9>
- <https://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f>
- <https://github.com/pytorch/vision/releases/tag/v0.29.2>
- <https://github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py#L209-L213>
- <https://www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction>
- <https://ubuntu.com/security/CVE-2026-137507>
- <https://www.cve.org/CVERecord?id=CVE-2026-137507>
- <https://security-tracker.debian.org/tracker/CVE-2026-137507>
- <https://www.suse.com/security/cve/CVE-2026-137507>

---

Data as of 2026-12-05T07:02:28.462Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
