CVE-2024-35199: TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production
CVE-2024-35199 is a high-severity flaw (CVSS 8.2) affecting torchserve. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. In affected versions the two gRPC ports 7070 and 7071, are not bound to [localhost](http://localhost/) by default, so when TorchServe is launched, these two interfaces are bound to all interfaces. Customers using PyTorch inference Deep Learning Containers (DLC) through Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fix
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 50%) |
| CISA exploited list | No |
| Weakness | CWE-668 |
| Published | 2024-07-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-35199?
torchserve: upgrade to 0.11.0. Exact commands for each OS are on this page.
Is CVE-2024-35199 being exploited?
CVE-2024-35199 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-35199 affect?
CVE-2024-35199 affects torchserve. Severity is high (CVSS 8.2). TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. In affected versions the two gRPC ports 7070 and 7071, are not bound to [localhost](http://localhost/) by default, so when TorchServe is lau
How urgent is CVE-2024-35199?
Priority 46/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-35198 CRITICAL 9.8 UPGRADE TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production
- CVE-2023-48299 MEDIUM 5.3 UPGRADE TorchServe is a tool for serving and scaling PyTorch models in production