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
Advisories And Exploit References
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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CIRCL KEV | Sep 28, 2023 | n/a | Not reported |
| Industry KEV feed | Sep 28, 2023 | n/a | Not reported |
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| TorchservePytorch | >= 0.1.0 | 0.8.2 |
| serve | >= >= 0.1.0, < 0.8.2 | n/a |
Patched Releases
Torchserve
0.8.2
Timeline
Added to CIRCL KEV
Sep 28, 2023
Added to Industry KEV feed
Sep 28, 2023
Publicly disclosed
Oct 2, 2023
Last updated
Sep 10, 2026
Weakness Type
- CWE-918 Server-Side Request Forgery (SSRF)
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2023-43654
- advisoryGHSA advisory
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
TorchServe is a tool for serving and scaling PyTorch models in production.
Affected: Torchserve (Pytorch) versions >= 0.1.0; serve versions >= >= 0.1.0, < 0.8.2. The full list is in the CVE brief.
It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Sep 28, 2023.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Torchserve 0.8.2.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
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