Vulnerability report

Exploited in the wild High confidence Not in CISA KEV

CVE-2023-43654

TorchServe Server-Side Request Forgery

pytorch / serve · affected before 0.8.2

Severity
CVSS 10.0 · Critical
Confidence
High
Exploit status
Exploited in the wild
EPSS
35.3%
First observed
Last observed

Decision summary

What security teams need to know first

Direct answers before the deeper technical record.

What it is

CVE-2023-43654 is an unauthenticated TorchServe Server-Side Request Forgery affecting pytorch serve. TorchServe is a tool for serving and scaling PyTorch models in production. TorchServe default configuration lacks...

Is it exploited?

Yes. KEV Intelligence tracks this CVE as a known exploited vulnerability. Confidence is high.

Who is affected?

pytorch / serve affected before 0.8.2.

What should we do?

Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.

Overview

TorchServe is a tool for serving and scaling PyTorch models in production

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.

Vendor Product Affected Status
pytorch torchserve Before 0.8.2 Affected
pytorch serve >= 0.1.0, < 0.8.2 Affected
Published
28 Sep 2023
Exploitation Reported
28 Sep 2023
Attack vector
Remote
Complexity
Low
Privileges
None
User interaction
None

Tags

nuclei_scanner

CVE References

Exploitation evidence

Why KEV Intelligence marks this CVE as exploited

Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.

Exploited in the wild

The Shadowserver

Recorded 28 Sep 2023

Independent exploitation attestation added to the KEV Intelligence record.

Proof of concept available

GitHub

Recorded 28 May 2024

Public scanner or PoC coverage increases practical exploitability.

Known exploited vulnerability sources

Per-source evidence links for KEV attestations are available through the KEV Intelligence Pro API.

Learn about Pro API access
Source Added
The Shadowserver First 2023-09-28 22:10 UTC

Detection

Operational artifacts and observed signals

Make the evidence actionable in scanner, SOC, and edge-control workflows.

Observed signals

Request targets
0
User-Agents
0

Raw values available in Pro and Enterprise.

Virtual patch status

No KEV Intelligence virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.

Learn about virtual patches →

Scanner Artifacts

Scanner and exploit-framework references linked to this CVE.

Risk and context

Severity, weaknesses, and research context

CVSS v3.1

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

EPSS

35.3%

Potential Proof of Concepts

These PoCs are unverified and could contain malware. Use at your own risk.

PyTorch TorchServe SSRF

nuclei · Created Unknown

Timeline

From disclosure to observed exploitation

  1. Public PoC available

    Public proof-of-concept code published

  2. Metasploit module available

    Exploit module available

  3. Nuclei template available

    Scanner coverage available

  4. CVE published

    Vulnerability disclosed publicly

  5. Added to KEV Intelligence KEV Feed

    High-confidence, third-party attested exploitation

  6. CVE ID reserved

    Identifier reserved by the CNA

Pro API

Automate this intelligence

Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.

  • Evidence confidence and provenance
  • First-party sensor telemetry
  • PoC and scanner references
  • Affected versions and enrichment
  • Automation-ready JSON delivery

GET /api/v2/pro/kevs/CVE-2023-43654

Free JSON includes basic KEV fields
{
  "cve_id": "CVE-2023-43654",
  "confidence": "High",
  "cvss_score": 10.0,
  "cvss_estimated": false,
  "epss_score": 0.35256,
  "exploit_status": {
    "exploited_in_the_wild": true,
    "active_exploitation_observed": false
  },
  "sensor_telemetry": { "attempts": 0, "sensors": 0 }
}

Early warning alerts

Get alerts on high-impact exploitation

Receive curator-selected alerts when exploitation activity warrants attention. Each alert includes the evidence and context needed to decide what requires attention now.

Occasional high-impact alerts. Unsubscribe anytime. See our Privacy Policy.