CVE-2024-35198
CVE-2024-35198 — TorchServe bypass allowed_urls configuration
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 using PyTorch inference Deep Learning Containers (DLC) through Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fixed by validating the URL without characters such as ".." before downloading see PR #3082. TorchServe release 0.11.0 includes the fix to address this vulnerability. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
9.8
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-706
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1574.008Hijack Execution Flow: Path Interception by Search Order Hijacking
- T1036Masquerading
- T1574.002Hijack Execution Flow: DLL Side-Loading
References
3 on the record
- github.com/pytorch/serve/security/advisories/GHSA-wxcx-gg9c-fwp2
x_refsource_CONFIRM
- github.com/pytorch/serve/pull/3082
x_refsource_MISC
- github.com/pytorch/serve/releases/tag/v0.11.0
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-24813 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTCVSS 9.8 · CISA KEV
- CVE-2021-40539 Zoho ManageEngine ADSelfService Plus Authentication Bypass VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2020-15505 Ivanti MobileIron Multiple Products Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-114663 Vyper 0.4.0b1 through 0.5.0b1 Name Shadowing of Imported Constants and Default ArgumentsCVSS 8.4
- CVE-2026-118496 Use of Incorrectly-Resolved Name or Reference in CODESYS Automation Server Connector and CODESYS Service ToolCVSS 7.5
- CVE-2026-136862 In Eclipse Apoapsis ORT Server Credential Helper versions 0.1.0 to 0.2.0, as shipped with Eclipse Apoapsis ORT Server versions 0.65.0 to…CVSS 7.0
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.