# CVE-2024-35199: TorchServe gRPC Port Exposure

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-07-18 · Modified: 2024-08-07
- Aliases: GHSA-hhpg-v63p-wp7w, PYSEC-2026-1971
- Record: https://cvemate.com/vulnerability/CVE-2024-35199 · JSON: https://cvemate.com/vulnerability/CVE-2024-35199/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- EPSS: 0.631%, percentile 51.7%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- PyPI torchserve (PyPI): ≥ 0.3.0, \< 0.11.0
- pytorch serve: ≥ 0.3.0, \< 0.11.0
- pytorch torchserve: ≥ 0.3.0, \< 0.11.0

## References

- <https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w>
- <https://github.com/pytorch/serve/pull/3083>
- <https://github.com/pytorch/serve/releases/tag/v0.11.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-35199>
- <https://github.com/pytorch/serve/commit/aab99506a17193de217aacc1119d9381dbc6ed2b>
- <https://github.com/pytorch/serve>
- <https://pypi.org/project/torchserve>
- <https://github.com/advisories/GHSA-hhpg-v63p-wp7w>

---

Data as of 2026-12-05T07:21:27.896Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
