CVE-2024-35198
published critical CVSS 3.1 · 9.8TorchServe bypass allowed_urls configuration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pytorch | — | serve>= 0.4.2, < 0.11.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pytorch | serve | >= 0.4.2, < 0.11.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-706 CWE-706: Use of Incorrectly-Resolved Name or Reference
References
3Provider assertions
3GitHub_M · cna
TorchServe bypass allowed_urls configuration
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b5b3a8628aa3de6a04702691e01a7674febe0c290b0cd4076330c051178f1fab
- Ingested
- 23 Sep 2026, 08:23:37 UTC
- Source record
- Official CVE record