Read the docs
TI-2023-23379 Aliases CVE-2023-43654GHSA-8fxr-qfr9-p34w

TorchServe Server-Side Request Forgery

Priority HIGH 82CWE-918Published · 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 tool for serving and scaling PyTorch models in production. TorchServe default configuration lacks proper input validation, enabling third parties to invoke remote HTTP download requests and write files to the disk. This issue could be taken advantage of to compromise the integrity of the system and sensitive data. This issue is present in versions 0.1.0 to 0.8.1. A user is able to load the model of their choice from any URL that they would like to use. The user of TorchServe is responsible for configuring both the allowed_urls and specifying the model URL to be used. A pull request to warn the user when the default value for allowed_urls is used has been merged in PR #2534. TorchServe release 0.8.2 includes this change. Users are advised to upgrade. There are no known workarounds for this issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.42495 98th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed serve (pytorch): 0.8.2torchserve (PyPI): 0.8.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

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.1.0 to before 0.8.20.8.2Patch availableCNA
—torchserve (PyPI)0.1.0 to before 0.8.20.8.2Patch availableGHSA-8fxr-qfr9-p34w
  • serve Vendorpytorch Affected 0.1.0 to before 0.8.2 Fixed in 0.8.2 Patch available CNA
  • torchserve (PyPI) Vendor— Affected 0.1.0 to before 0.8.2 Fixed in 0.8.2 Patch available GHSA-8fxr-qfr9-p34w

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pytorch:torchserve:*:*:*:*:*:*:*:*0.1.0 to before 0.8.2Vulnerablepytorch
  • cpe:2.3:a:pytorch:torchserve:*:*:*:*:*:*:*:* Versions 0.1.0 to before 0.8.2 Vulnerable ·pytorch

Remediation

  • Fix · CNA serve (pytorch) Fixed in 0.8.2
  • Fix · GHSA-8fxr-qfr9-p34w torchserve (PyPI) Fixed in 0.8.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-43654
  2. 2026-10-03 Alias added: GHSA-8fxr-qfr9-p34w

References

Sources