{"id":"CVE-2026-137507","aliases":[],"title":"torchvision before 0.29.2 Path Traversal via Tar Archive Extraction","originalDescription":"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.","severity":{"cvss":7.1,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00688,"percentile":0.48034},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"vision","range":">=0, <0.29.2","fixed":"0.29.2"}],"references":[{"url":"https://github.com/pytorch/vision/issues/9517","type":"issue-tracking"},{"url":"https://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9","type":"patch"},{"url":"https://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f","type":"patch"},{"url":"https://github.com/pytorch/vision/releases/tag/v0.29.2","type":"release-notes"},{"url":"https://github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py#L209-L213","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137507.json","type":"advisory"},{"url":"https://github.com/pytorch/vision","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137507","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-26T20:38:39.190Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137507","license":"NVD terms of use","firstSeenAt":"2026-11-26T20:38:39.190Z"},{"name":"osv","at":"2026-11-26T23:57:19.024Z","url":"https://osv.dev/vulnerability/CVE-2026-137507","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T23:24:12.511Z"},{"name":"cvelistV5","at":"2026-11-28T17:10:20.624Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137507","license":"CVE Terms of Use","firstSeenAt":"2026-11-26T20:36:16.649Z"}],"firstSeenAt":"2026-11-26T20:36:16.649Z","publishedAt":"2026-11-26T20:02:35.371Z","modifiedAt":"2026-11-26T23:00:56.760Z"}