{"schemaVersion":4,"id":"CVE-2026-137507","aliases":["UBUNTU-CVE-2026-137507","DEBIAN-CVE-2026-137507","openSUSE-SU-2026:12751-1"],"status":"published","duplicateOf":null,"title":"torchvision before 0.29.2 Path Traversal via Tar Archive Extraction","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.","dates":{"published":"2026-11-26T20:02:35.371Z","modified":"2026-12-01T20:41:55.070Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.1,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.1,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":7.1,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":7.1,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true}]},"epss":{"probability":0.00942,"percentile":0.6218,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00942,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00942,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00942,"percentile":0.6218}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00942,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00942,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00942,"percentile":0.6218}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"pytorch-vision","name":"pytorch-vision","label":"pytorch-vision","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pytorch-vision","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pytorch-vision","name":"pytorch-vision","label":"pytorch-vision","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pytorch-vision","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"pytorch","product":"vision","name":"vision","label":"vision","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.29.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.29.2","endInclusive":false}}],"versionsText":"< 0.29.2","eol":null,"hubHref":"/vendor/pytorch/vision"},{"vendor":"opensuse","product":"python-torchvision","name":"python-torchvision","label":"python-torchvision","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-torchvision","purlType":"rpm","versions":[{"text":"< 0.29.2-1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.29.2-1.1","endInclusive":false}}],"versionsText":"< 0.29.2-1.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pytorch/vision/issues/9517","label":"github.com/pytorch/vision/issues/9517","hostname":"github.com","tags":["Issue Tracking"]},{"url":"https://github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9","label":"github.com/pytorch/vision/commit/7a7520f83957fe6a0f934fe7035f07b5ef32e8f9","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f","label":"github.com/pytorch/vision/commit/b22811118b30f18ef02006fc6215a52140fd689f","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/pytorch/vision/releases/tag/v0.29.2","label":"github.com/pytorch/vision/releases/tag/v0.29.2","hostname":"github.com","tags":["Release Notes"]},{"url":"https://github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py#L209-L213","label":"github.com/pytorch/vision/blob/v0.29.1/torchvision/datasets/utils.py","hostname":"github.com","tags":["Technical Description"]},{"url":"https://www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction","label":"www.vulncheck.com/advisories/torchvision-before-0.29.2-path-traversal-via-tar-archive-extraction","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-137507","label":"ubuntu.com/security/CVE-2026-137507","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-137507","label":"www.cve.org/CVERecord?id=CVE-2026-137507","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-137507","label":"security-tracker.debian.org/tracker/CVE-2026-137507","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-137507","label":"www.suse.com/security/cve/CVE-2026-137507","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-26T20:02:35.371Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T20:41:55.070Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,71],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00942,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T20:41:55.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-01T20:41:55.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-01T20:41:55.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":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/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"},{"type":"cvss","source":"nvd","date":"2026-12-01T20:41:55.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T20:41:55.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":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/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"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T20:41:55.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T20:41:55.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T20:41:26.422Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00942,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:00:24.931Z","stale":false,"partial":false}}