CVE-2023-43654

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 35.3%, top 2% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Weaponized
9.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 35%CVSS: 9.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
9.8
EG Score
9.8(medium)
EG Risk
EPSS
98.3%
KEV
Not listed

Published

September 28, 2023

Last Modified

June 17, 2026

Advisory Details (4)

Auto-updated Jun 18, 2026
Patch available. Sources: github_pr, github_release, github.
github Patch Available

TorchServe SSRF · Advisory · pytorch/serve · GitHub

https://github.com/pytorch/serve/security/advisories/GHSA-8fxr-qfr9-p34w
github_release Patch Available

TorchServe v0.8.2 Release Notes

Patch available: pytorch/serve v0.8.2

https://github.com/pytorch/serve/releases/tag/v0.8.2
github_pr

Issue warning about allowed_urls when default value is used

Fix merged in pytorch/serve PR #2534 on 2023-08-22 — awaiting tagged release

https://github.com/pytorch/serve/pull/2534

Affected Packages

(1 across 1 ecosystem)
PyPI(1)
PackageVulnerable rangeFixed inDependents
torchserve0.1.1 ... 0.8.1 (18 versions)0.8.2

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 10× in last 7d / 40× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-22 23:13 UTCEG score recompute 0.20
  2. 2026-07-22 14:06 UTCEPSS rescore
  3. 2026-07-21 15:23 UTCEPSS rescore
  4. 2026-07-21 15:23 UTCEPSS rescore
  5. 2026-07-20 17:06 UTCEPSS rescore
  6. 2026-07-19 14:29 UTCEPSS rescore
  7. 2026-07-18 10:03 UTCEPSS rescore
  8. 2026-07-18 10:03 UTCEPSS rescore
  9. 2026-07-16 17:01 UTCEPSS rescore
  10. 2026-07-16 17:01 UTCEPSS rescore
  11. 2026-07-15 16:56 UTCEPSS rescore
  12. 2026-07-15 16:56 UTCEPSS rescore
  13. 2026-07-15 08:19 UTCOSV refresh
  14. 2026-07-15 01:58 UTCEPSS rescore
  15. 2026-07-13 22:28 UTCEPSS rescore
  16. 2026-07-13 22:28 UTCEPSS rescore
  17. 2026-07-13 06:11 UTCEPSS rescore
  18. 2026-07-13 06:11 UTCEPSS rescore
  19. 2026-07-12 05:45 UTCEPSS rescore
  20. 2026-07-12 05:45 UTCEPSS rescore
  21. 2026-07-11 08:26 UTCEPSS rescore
  22. 2026-07-11 08:26 UTCEPSS rescore
  23. 2026-07-09 19:08 UTCEPSS rescore
  24. 2026-07-08 15:13 UTCEPSS rescore
  25. 2026-07-07 13:44 UTCEPSS rescore
Show 48 more
  1. 2026-07-04 06:29 UTCEPSS rescore
  2. 2026-07-01 15:05 UTCEPSS rescore
  3. 2026-06-30 23:21 UTCEPSS rescore
  4. 2026-06-30 23:21 UTCEPSS rescore
  5. 2026-06-29 14:05 UTCEPSS rescore
  6. 2026-06-28 04:55 UTCEPSS rescore
  7. 2026-06-28 04:55 UTCEPSS rescore
  8. 2026-06-27 09:04 UTCOSV refresh
  9. 2026-06-25 13:48 UTCEPSS rescore
  10. 2026-06-25 13:48 UTCEPSS rescore
  11. 2026-06-24 14:04 UTCEPSS rescore
  12. 2026-06-24 14:04 UTCEPSS rescore
  13. 2026-06-24 06:23 UTCNVD updateCVSS v3 → 9.8
  14. 2026-06-23 21:31 UTCEPSS rescore
  15. 2026-06-23 21:31 UTCEPSS rescore
  16. 2026-06-21 01:58 UTCEPSS rescore
  17. 2026-06-21 01:58 UTCEPSS rescore
  18. 2026-06-18 17:51 UTCEPSS rescore
  19. 2026-06-17 17:51 UTCEPSS rescore
  20. 2026-06-17 17:51 UTCEPSS rescore
  21. 2026-06-16 17:51 UTCEPSS rescore
  22. 2026-06-16 17:51 UTCEPSS rescore
  23. 2026-06-15 17:47 UTCEPSS rescore
  24. 2026-06-15 17:47 UTCEPSS rescore
  25. 2026-06-13 22:59 UTCEPSS rescore
  26. 2026-06-13 22:59 UTCEPSS rescore
  27. 2026-06-12 23:10 UTCEPSS rescore
  28. 2026-06-12 23:10 UTCEPSS rescore
  29. 2026-06-10 22:17 UTCEPSS rescore
  30. 2026-06-09 19:47 UTCOSV refresh
  31. 2026-06-08 14:16 UTCEPSS rescore
  32. 2026-06-08 14:16 UTCEPSS rescore
  33. 2026-06-06 13:46 UTCEPSS rescore
  34. 2026-06-06 13:46 UTCEPSS rescore
  35. 2026-06-05 22:46 UTCEPSS rescore
  36. 2026-06-05 22:46 UTCEPSS rescore
  37. 2026-06-02 20:12 UTCEPSS rescore
  38. 2026-06-02 20:12 UTCEPSS rescore
  39. 2026-05-31 22:30 UTCEPSS rescore
  40. 2026-05-31 22:29 UTCEPSS rescore
  41. 2026-05-29 13:43 UTCEPSS rescore
  42. 2026-05-29 13:43 UTCEPSS rescore
  43. 2026-05-27 13:39 UTCEPSS rescore
  44. 2026-05-27 13:39 UTCEPSS rescore
  45. 2026-05-26 07:18 UTCEPSS rescore
  46. 2026-05-26 07:18 UTCEPSS rescore
  47. 2026-05-26 07:18 UTCEPSS rescore
  48. 2026-05-24 16:51 UTCEG score recompute

Publicly available exploits

(4 references)

Working exploit code is in the public domain (1 Metasploit module) (2 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCOligoCyberSecurity/CVE-2023-43654
    First seen May 28, 2024

    Demo for CVE-2023-43654 - Remote Code Execution in PyTorch TorchServe

    Open source ↗
  • Metasploitexploit/multi/http/torchserver_cve_2023_43654✓ verified
    First seen Oct 3, 2023

    PyTorch Model Server Registration and Deserialization RCE

    Open source ↗
  • GitHub PoCOligoCyberSecurity/ShellTorchChecker
    First seen Oct 2, 2023

    A tool that checks if a TorchServe instance is vulnerable to CVE-2023-43654

    Open source ↗
  • Nucleihttp/cves/2023/CVE-2023-43654.yaml
    First seen Jan 1, 2023

    PyTorch TorchServe SSRF

    Open source ↗

Frequently asked(5)

What is CVE-2023-43654?
CVE-2023-43654 is a critical vulnerability published on September 28, 2023. 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…
When was CVE-2023-43654 disclosed?
CVE-2023-43654 was first published in the National Vulnerability Database on September 28, 2023, with the most recent update on June 17, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2023-43654 actively exploited?
CVE-2023-43654 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 98.3% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2023-43654?
CVE-2023-43654 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2023-43654?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2023-43654, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-43654

Explore →

Is Your Infrastructure Affected by CVE-2023-43654?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.