{"id":"PYSEC-2026-1971","summary":"TorchServe gRPC Port Exposure","details":"### Impact\nThe 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.\n\n### Patches\nThis issue in TorchServe has been fixed in [#3083](https://github.com/pytorch/serve/pull/3083).\n\nTorchServe release 0.11.0 includes the fix to address this vulnerability.\n\n### References\n* [#3083](https://github.com/pytorch/serve/pull/3083)\n* [TorchServe release v0.11.0](https://github.com/pytorch/serve/releases/tag/v0.11.0)\n\nThank Kroll Cyber Risk for for responsibly disclosing this issue.\n\nIf you have any questions or comments about this advisory, we ask that you contact AWS Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.","aliases":["CVE-2024-35199","GHSA-hhpg-v63p-wp7w"],"modified":"2026-07-07T17:48:11.504059076Z","published":"2026-07-07T14:34:37.036284Z","references":[{"type":"WEB","url":"https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35199"},{"type":"WEB","url":"https://github.com/pytorch/serve/pull/3083"},{"type":"WEB","url":"https://github.com/pytorch/serve/commit/aab99506a17193de217aacc1119d9381dbc6ed2b"},{"type":"PACKAGE","url":"https://github.com/pytorch/serve"},{"type":"WEB","url":"https://github.com/pytorch/serve/releases/tag/v0.11.0"},{"type":"PACKAGE","url":"https://pypi.org/project/torchserve"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hhpg-v63p-wp7w"}],"affected":[{"package":{"name":"torchserve","ecosystem":"PyPI","purl":"pkg:pypi/torchserve"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0"},{"fixed":"0.11.0"}]}],"versions":["0.10.0","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.5.0","0.5.1","0.5.2","0.5.3","0.6.0","0.6.1","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","0.9.0"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/torchserve/PYSEC-2026-1971.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"}]}