{"cve":"CVE-2023-48299","nvd":{"published":"2023-11-21T21:15:09.077","modified":"2026-06-17T06:33:57.390","status":"Modified","description":"TorchServe is a tool for serving and scaling PyTorch models in production. Starting in version 0.1.0 and prior to version 0.9.0, using the model/workflow management API, there is a chance of uploading potentially harmful archives that contain files that are extracted to any location on the filesystem that is within the process permissions. Leveraging this issue could aid third-party actors in hiding harmful code in open-source/public models, which can be downloaded from the internet, and take advantage of machines running Torchserve. The ZipSlip issue in TorchServe has been fixed by validating the paths of files contained within a zip archive before extracting them. TorchServe release 0.9.0 includes fixes to address the ZipSlip vulnerability.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-22"],"references":["https://github.com/pytorch/serve/commit/bfb3d42396727614aef625143b4381e64142f9bb","https://github.com/pytorch/serve/pull/2634","https://github.com/pytorch/serve/releases/tag/v0.9.0","https://github.com/pytorch/serve/security/advisories/GHSA-m2mj-pr4f-h9jp","https://github.com/pytorch/serve/commit/bfb3d42396727614aef625143b4381e64142f9bb"],"products":["pytorch:torchserve"],"source":"nvd","synced_at":"2026-10-19T21:42:07.670898610+00:00"},"epss":{"cve":"CVE-2023-48299","score":0.00679,"percentile":0.52356,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-m2mj-pr4f-h9jp","url":"https://osv.dev/vulnerability/GHSA-m2mj-pr4f-h9jp","summary":"TorchServe ZipSlip","modified":"2026-09-10T03:49:47.680388877Z","packages":[{"ecosystem":"PyPI","name":"torchserve","purl":"pkg:pypi/torchserve","ranges":[">=0.1.0 <0.9.0"],"fixed":["0.9.0"]}]},{"id":"PYSEC-2026-1972","url":"https://osv.dev/vulnerability/PYSEC-2026-1972","summary":"TorchServe ZipSlip","modified":"2026-07-07T17:48:11.546614776Z","packages":[{"ecosystem":"PyPI","name":"torchserve","purl":"pkg:pypi/torchserve","ranges":[">=0.1.0 <0.9.0"],"fixed":["0.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}