TorchServe gRPC Port Exposure
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pytorch | serve | 0.3.0 to before 0.11.0 | 0.11.0 | Patch available | CNA |
| — | torchserve (PyPI) | 0.3.0 to before 0.11.0 | 0.11.0 | Patch available | GHSA-hhpg-v63p-wp7w |
- serve Vendorpytorch Affected 0.3.0 to before 0.11.0 Fixed in 0.11.0 Patch available CNA
- torchserve (PyPI) Vendor— Affected 0.3.0 to before 0.11.0 Fixed in 0.11.0 Patch available GHSA-hhpg-v63p-wp7w
Remediation
- Fix · CNA serve (pytorch) Fixed in 0.11.0
- Fix · GHSA-hhpg-v63p-wp7w torchserve (PyPI) Fixed in 0.11.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-35199
- 2026-10-03 Alias added: GHSA-hhpg-v63p-wp7w
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
Patch 2
More pytorch Torchserve vulnerabilities
- TI-2023-23379 TorchServe Server-Side Request Forgery CVSS 3.1CRITICAL 10.0
- TI-2024-23270 TorchServe bypass allowed_urls configuration CVSS 3.1CRITICAL 9.8
- TI-2023-26162 TorchServe ZipSlip CVSS 3.1MEDIUM 5.3
Sources
- CVE-2024-35199 · CVE Program
- CVE-2024-35199 · NVD
- FIRST EPSS
- GHSA-hhpg-v63p-wp7w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences