Skip to content
Emerging threatsCritical

CVE-2023-43654Torchserve SSRF

TorchServe Server-Side Request Forgery vulnerability

Published Oct 2, 2023 · Updated Sep 10, 2026 · Also known as GHSA-8fxr-qfr9-p34w, PYSEC-2026-553

Key Facts

Patch immediately
  • CVE-2023-43654 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Torchserve (Pytorch), serve.
  • It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Sep 28, 2023. Public exploit code is available.
  • EPSS estimates a 42% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Torchserve 0.8.2.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

42%

Higher than 98.6% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

57/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Sep 28, 2023

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

10

Reports of active use

Description

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CIRCL KEVSep 28, 2023n/aNot reported
Industry KEV feedSep 28, 2023n/aNot reported

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
TorchservePytorch>= 0.1.00.8.2
serve>= >= 0.1.0, < 0.8.2n/a

Patched Releases

Torchserve

0.8.2

Timeline

  1. Added to CIRCL KEV

    Sep 28, 2023

  2. Added to Industry KEV feed

    Sep 28, 2023

  3. Publicly disclosed

    Oct 2, 2023

  4. Last updated

    Sep 10, 2026

Weakness Type

  • CWE-918 Server-Side Request Forgery (SSRF)

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2023-43654 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.