CVE-2026-137507: pytorch vision · Path Traversal
Affects pytorch visionSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 0.29.2 soon.
Data as of 26 Nov 2026, 22:01 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
- Patch
- Available – fixed in 0.29.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Oct 2026.
What to do
Upgrade pytorch vision to 0.29.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pytorchvision | Affected
| Fixed in
|
PyPIvisionpkg:pypi/visionOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade torchvision to version 0.29.2 or later, where this vulnerability is fixed. No other mitigation is required as the fix addresses the root cause.
Description
A path traversal vulnerability exists in torchvision before version 0.29.2 in the _extract_tar() function. This flaw allows attackers to craft malicious tar archives that, when extracted, can write files outside the intended directory. Exploitation can lead to overwriting Python modules and potentially executing arbitrary code.
References
- github.com/pytorch/vision/issues/9517 (opens in a new tab)
- github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9 (opens in a new tab)
- github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f (opens in a new tab)
- github.com/pytorch/vision/releases/tag/v0.29.2 (opens in a new tab)
- github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py (opens in a new tab)
- vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction (opens in a new tab)