CVE-2026-137507
HIGH 7.1CVSS 4.0torchvision before 0.29.2 Path Traversal via Tar Archive Extraction
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.
- Published
- 26 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | HIGH 7.1 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | pytorch | vision | < 0.29.2 | 0.29.2 |
References
- https://github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py#L209-L213 · technical-description
- https://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9 · patch
- https://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f · patch
- https://github.com/pytorch/vision/issues/9517 · issue-tracking
- https://github.com/pytorch/vision/releases/tag/v0.29.2 · release-notes
- https://www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction · third-party-advisory
History
- 1 Dec 2026 21:37 UTC · NVD: 1 reference added
- 1 Dec 2026 20:55 UTC · CVE List: updated (other details)
- 26 Nov 2026 20:21 UTC · NVD: first stored (published 26 Nov 2026)
- 26 Nov 2026 20:21 UTC · CVE List: first stored (published 26 Nov 2026)