{"affected":[{"defaultStatus":"unaffected","ecosystem":"pypi","packageName":"torchvision","product":"vision","source":"CNA: VulnCheck","vendor":"pytorch","versions":[{"lessThan":"0.29.2","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-137507","cwes":["CWE-22"],"description":"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.","epss":{"date":"2026-12-01","percentile":0.53608,"score":0.00679},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/pytorch/vision/issues/9517"}],"kev":null,"metrics":[{"score":7.1,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":6.5,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},{"score":7.1,"severity":"high","source":"NVD: disclosure@vulncheck.com","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/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","version":"4.0"},{"score":6.5,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"}],"modifiedAt":1796157715070,"publishedAt":1795723355371,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking"],"url":"https://github.com/pytorch/vision/issues/9517"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/pytorch/vision/releases/tag/v0.29.2"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py#L209-L213"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/pytorch/vision/issues/9517"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py#L209-L213"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/pytorch/vision/issues/9517"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/pytorch/vision/releases/tag/v0.29.2"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f"}],"revision":"2dfa36afd0c8df5eab53e7bff34c37191b91723ed380dee3367e425d77cb5654","sources":[{"modifiedAt":1796157715070,"name":"CNA: VulnCheck","retrievedAt":1796159400425,"url":"https://www.cve.org/CVERecord?id=CVE-2026-137507"},{"modifiedAt":1795724243800,"name":"NVD","retrievedAt":1795738603467,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137507"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1796159418378,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-137507"}],"ssvc":{"assessedAt":1796157686422,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"torchvision before 0.29.2 Path Traversal via Tar Archive Extraction","updatedAt":1796159418378}