Read the docs
TI-2024-23270 Aliases CVE-2024-35198GHSA-wxcx-gg9c-fwp2

TorchServe bypass allowed_urls configuration

Priority MEDIUM 43CWE-706Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · 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. 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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00799 56th percentileScored 2026-11-07
Fix Fixed serve (pytorch): 0.11.0torchserve (PyPI): 0.11.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
pytorchserve0.4.2 to before 0.11.00.11.0Patch availableCNA
—torchserve (PyPI)before 0.11.00.11.0Patch availableGHSA-wxcx-gg9c-fwp2
  • serve Vendorpytorch Affected 0.4.2 to before 0.11.0 Fixed in 0.11.0 Patch available CNA
  • torchserve (PyPI) Vendor— Affected before 0.11.0 Fixed in 0.11.0 Patch available GHSA-wxcx-gg9c-fwp2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pytorch:torchserve:*:*:*:*:*:*:*:*0.4.2 to before 0.11.0Vulnerablepytorch
  • cpe:2.3:a:pytorch:torchserve:*:*:*:*:*:*:*:* Versions 0.4.2 to before 0.11.0 Vulnerable ·pytorch

Remediation

  • Fix · CNA serve (pytorch) Fixed in 0.11.0
  • Fix · GHSA-wxcx-gg9c-fwp2 torchserve (PyPI) Fixed in 0.11.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-35198
  2. 2026-10-03 Alias added: GHSA-wxcx-gg9c-fwp2

References

Sources