CVE-2024-35199: TorchServe gRPC Port Exposure
Vulnerability summary
CVE-2024-35199 is a high (CVSS 8.2) Exposure of Resource to Wrong Sphere vulnerability in pytorch serve. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 51.7% of scored vulnerabilities.
Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 18-07-2024PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
Description
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 fixed in PR #3083. 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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.64% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Pytorch2 products
- serve≥ 0.3.0, < 0.11.0
- torchserve≥ 0.3.0, < 0.11.0
PyPI1 product
- torchserve≥ 0.3.0, < 0.11.0
2 vendors · 3 products
References
8 links- github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7wX Refsource CONFIRMWEBPatchThird Party Advisory
- github.com/pytorch/servePACKAGE
- pypi.org/project/torchservePACKAGE