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.
| Package | Affected | Fixed in |
|---|---|---|
torchvision PyPIpkg:pypi/torchvision | All versions | 0.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.