CVE-2024-35198: TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production
CVE-2024-35198 is a critical-severity flaw (CVSS 9.8) 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. TorchServe 's check on allowed_urls configuration can be by-passed if the URL contains characters such as ".." but it does not prevent the model from being downloaded into the model store. Once a file is downloaded, it can be referenced without providing a URL the second time, which effectively bypasses the allowed_urls security check. Customers us
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-706 |
| 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-35198?
torchserve: upgrade to 0.11.0. Exact commands for each OS are on this page.
Is CVE-2024-35198 being exploited?
CVE-2024-35198 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-35198 affect?
CVE-2024-35198 affects torchserve. Severity is critical (CVSS 9.8). TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. TorchServe 's check on allowed_urls configuration can be by-passed if the URL contains characters such as ".." but it does not prevent the m
How urgent is CVE-2024-35198?
Priority 53/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-35199 HIGH 8.2 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