Skip to content
MediumVulnerability

CVE-2026-137507: torchvision path traversal in _extract_tar() allows arbitrary file writes

Identifier
CVE-2026-137507
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

torchvision before 0.29.2 contains a path traversal flaw in _extract_tar() that lets an attacker write files outside the extraction directory using a crafted tar archive. An attacker who controls an archive passed to extract_archive() or download_and_extract_archive() can use .. paths, absolute paths, or symlinks to overwrite Python modules and achieve code execution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.