CVE-2026-137507
torchvision before 0.29.2 contains a path traversal vulnerability in _extract_tar() that allows attackers to write files outside the extraction directory by su…
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer beteiligt sein, etwa indem er Inhalte ansieht. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Produkte (Pytorch)
| Produkt | Betroffene Versionen |
|---|---|
| Vision | vor 0.29.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/pytorch/vision/issues/9517
- https://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9
- https://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f
- https://github.com/pytorch/vision/releases/tag/v0.29.2
- https://github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py#L209-L213
- https://www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction
- https://github.com/advisories/GHSA-c26x-8h8m-rv92
- https://nvd.nist.gov/vuln/detail/CVE-2026-137507