PyPI (Python)Worst: Critical6 advisories
torchserve: known vulnerabilities
torchserve has 6 reviewed security advisories in the GitHub Advisory Database — 3 critical, 1 high, 2 moderate. The most recent was published 2025-03-20. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the torchserve versions running across your servers, containers and images, and ranks what to patch first.
How to fix torchserve
Upgrade torchserve to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade torchserve (pin torchserve>=0.11.0)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (6)
TorchServe script references S3 bucket without ensuring ownership or confirming accessibility
Moderate 6.3
— Affected: up to and including 0.11.0. No fixed release is listed. Published 2025-03-20. GHSA-xx7c-j7h3-vjcq · CVE-2024-6577
TorchServe gRPC Port Exposure
High 8.2 CWE-1256 CWE-668
— Affected: from 0.3.0 up to 0.11.0. Fixed in 0.11.0. Published 2024-07-19. GHSA-hhpg-v63p-wp7w · CVE-2024-35199
TorchServe vulnerable to bypass of allowed_urls configuration
Critical 9.8 CWE-22 CWE-706
— Affected: before 0.11.0. Fixed in 0.11.0. Published 2024-07-19. GHSA-wxcx-gg9c-fwp2 · CVE-2024-35198
TorchServe ZipSlip
Moderate 5.3 CWE-22
— Affected: from 0.1.0 up to 0.9.0. Fixed in 0.9.0. Published 2023-11-21. GHSA-m2mj-pr4f-h9jp · CVE-2023-48299
TorchServe Pre-Auth Remote Code Execution
Critical 9.9 CWE-913
— Affected: from 0.3.0 up to 0.8.2. Fixed in 0.8.2. Published 2023-10-02. GHSA-4mqg-h5jf-j9m7
TorchServe Server-Side Request Forgery vulnerability
Critical 9.8 CWE-918
— Affected: from 0.1.0 up to 0.8.2. Fixed in 0.8.2. Published 2023-09-28. GHSA-8fxr-qfr9-p34w · CVE-2023-43654
Find torchserve across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.