Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-137507

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

pytorch vision

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-137507: high-severity vulnerability (CVSS 7.1) in pytorch vision.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.1.

Affected products and versions

pytorch vision < 0.29.2

ProductVersionsFixed in
pytorch vision< 0.29.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-22

Relevant change history

  1. Published

    Preliminary advisory published.