CVE-2026-137507pytorch vision Path Traversal
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 7.1 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.5)
CVSS v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- pytorch vision < 0.29.2
- pytorch vision 0.29.2
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run pytorch vision and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 26, 2026Published
- Nov 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new pytorch vision CVEsYou are reading CVE-2026-137507. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://github.com/pytorch/vision/issues/9517
- Patchhttps://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9
- Patchhttps://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f
- Referencehttps://github.com/pytorch/vision/releases/tag/v0.29.2
- Referencehttps://github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py#L209-L213
- Referencehttps://www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction
Data last checked: Nov 26, 2026 21:39 UTC