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

Published Updated

CVSS score

High

7.1/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the network
No login, a user must click or open something

What is CVE-2026-137507?

CVE-2026-137507 is a high-severity vulnerability in pytorch vision, published on 26 Nov 2026.

Official description

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.

Weakness: CWE-22

How severe is CVE-2026-137507?

CVE-2026-137507 scores 7.1 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
High
Availability
None

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

Which versions are affected by CVE-2026-137507?

1 open source package ship an affected version, including torchvision.

PackageAffectedFixed in
torchvision PyPI
pkg:pypi/torchvision
All versions0.29.2

How do I fix CVE-2026-137507?

Upgrade each affected package to the fixed version listed for it above. Each package has its own fixed versions.

Is CVE-2026-137507 being exploited?

There is no known exploitation of CVE-2026-137507 in the wild and no public exploit code.

Sources

Also known as GHSA-c26x-8h8m-rv92, UBUNTU-CVE-2026-137507.

Is CVE-2026-137507 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free