CVE-2024-35198 — Vulnerability in torchserve — CVE Details
TorchServe vulnerable to bypass of allowed_urls configuration
Summary
Advisory Timeline
- First published July 18, 2024 (816 days ago).
- Last revised September 10, 2026 — 783 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "torchserve>=0.11.0"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| torchserve | pypi | 0.0.1b20200409, 0.1.1, 0.10.0, 0.2.0 (+18 more) | 0.11.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
- CWE-706
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/pytorch/serve/security/advisories/GHSA-wxcx-gg9c-fwp2WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-35198ADVISORY
- https://github.com/pytorch/serve/pull/3082WEB
- https://github.com/pytorch/serve/commit/cdba0fd449c2fd23dcf37c54c0784035541d5114WEB
- https://github.com/pytorch/servePACKAGE
- https://github.com/pytorch/serve/releases/tag/v0.11.0WEB
Frequently Asked Questions
- What is CVE-2024-35198?
- TorchServe vulnerable to bypass of allowed_urls configuration This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-35198?
- CVE-2024-35198 affects torchserve. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-35198 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2023-43654CRITICAL
TorchServe Server-Side Request Forgery vulnerability
- CVE-2026-61447CRITICAL
PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets
- CVE-2026-61445CRITICAL
PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies