Skip to main content

lmdeploy CVE-2026-63764

| EUVDEUVD-2026-46412 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-21 VulnCheck GHSA-rqhf-rg9p-w5gg
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed lmdeploy chat completions endpoint
  2. Delivery
    POST request with attacker-controlled image_url
  3. Exploit
    Server fetches URL, receives HTTP 302 redirect
  4. Execution
    Redirect target skips private-IP safety re-check
  5. Persist
    Server fetches internal or metadata endpoint
  6. Impact
    Exfiltrate internal data or cloud credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the lmdeploy OpenAI-compatible API server to be network-reachable by the attacker and to accept multimodal image_url inputs (the vision/chat-completions media-fetch path) - the default behavior when serving a vision-language model without the new --allowed-media-domains allowlist configured. No authentication or user interaction is needed (PR:N/UI:N). The attacker must control an external HTTP endpoint that returns a 302 redirect to an internal target. Limiting factors that reduce real-world risk: the --allowed-media-domains allowlist (if set) blocks non-allowlisted hosts; deployments with no sensitive internal HTTP services or with strict egress filtering / IMDSv2-only metadata yield little to exfiltrate; and text-only deployments that do not expose the image_url media-fetch feature are not exploitable via this path.

Impact

Signals are mixed and point to a real but not urgent priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms trivial, unauthenticated, network-reachable exploitation with low complexity, and impact is modeled entirely as subsequent-system confidentiality (SC:H) with no direct impact to the lmdeploy host itself (VC/VI/VA = N) - consistent with classic SSRF where damage lands on adjacent internal systems and metadata endpoints. Against that, EPSS is only 0.28% (20th percentile), there is no KEV listing and no public exploit identified, suggesting exploitation is plausible but not currently widespread. Practical severity is highly environment-dependent: in a cloud deployment with an accessible instance-metadata service and IAM role credentials, this can escalate to credential theft and lateral movement; in an isolated on-prem deployment with no sensitive internal HTTP services, real-world impact is far lower. Note a nuance: the vendor 4.0 vector rates VC:N, but real cloud-metadata theft would meaningfully affect confidentiality of data reachable through the SSRF, so defenders should size the risk to what internal endpoints the server can reach.

Exploit ScenarioDerived

An attacker who can reach the exposed lmdeploy API server sends a POST to the chat/completions endpoint with an image_url pointing to a server they control; that server responds with an HTTP 302 redirect to http://169.254.169.254/latest/meta-data/iam/security-credentials/ or an internal loopback service. lmdeploy follows the redirect without re-checking the destination against its private-IP safety guard, fetching the internal resource and returning or exposing internal service responses or cloud IAM credentials. No authentication or user interaction is required (AV:N/AC:L/PR:N/UI:N); no public exploit is identified, but the technique is simple to reproduce.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 23, 2026

Server-side request forgery in InternLM lmdeploy's OpenAI-compatible vision API server lets unauthenticated remote attackers coerce the server into fetching internal-only resources by abusing the image_url media-fetch path. Because the URL safety check validates only the initial URL and does not re-validate targets after an HTTP 302 redirect, an attacker-hosted endpoint can redirect the fetch to loopback services or cloud instance-metadata endpoints, exposing internal services and potentially cloud credentials. No public exploit is identified at time of analysis, EPSS is low (0.28%), and a vendor fix adding a media-domain allowlist is available.

Earlier versions of this analysis (1)
v1 Jul 21, 2026 - 21:04 CVSS 9.2

Server-side request forgery in InternLM lmdeploy's OpenAI-compatible API server lets unauthenticated remote attackers reach internal-only services and cloud instance-metadata endpoints by abusing the vision image-fetch feature. Because the URL safety guard validates only the initial image_url and does not re-check each hop, an attacker-controlled host returning an HTTP 302 redirect to loopback or 169.254.169.254 bypasses the private-IP filter. With a CVSS 4.0 base of 9.2 and no public exploit identified at time of analysis, the flaw enables credential theft and internal reconnaissance from a single unauthenticated POST.

RemediationAI

Upgrade to a build of lmdeploy that contains the upstream fix in pull request #4734 / commit 03c313006d17cc3feae86b633c44206a997c44db; the upstream fix is available (PR/commit) but a released patched version tag is not independently confirmed from the provided data, so verify the exact release with the vendor. The fix adds a --allowed-media-domains startup option, so operators exposing the API server to untrusted clients should launch with an explicit hostname allowlist, e.g. lmdeploy serve api_server <model_path> --allowed-media-domains example.com (matching is exact-hostname, so cdn.example.com must be listed separately). Where immediate upgrade is not possible, apply compensating controls: place the API server behind an egress firewall/proxy that blocks outbound requests to RFC1918, loopback, and link-local ranges including 169.254.169.254 (trade-off: breaks legitimate internal image fetching); enforce IMDSv2 and disable IMDSv1 with a low hop limit on cloud instances to blunt metadata theft (trade-off: requires IMDSv2-aware tooling); and require authentication or network-level restriction in front of the chat/completions endpoint so anonymous clients cannot submit image_url values (trade-off: affects legitimate unauthenticated API consumers). See the VulnCheck advisory and the repository documentation update for details.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

lmdeploy is an InternLM toolkit for compressing, deploying, and serving large language and vision-language models, exposing an OpenAI-compatible HTTP API (chat/completions) that accepts multimodal inputs. When a request includes an image_url, the server's multimodal media fetcher retrieves the remote image over HTTP(S). The root cause is CWE-918 (Server-Side Request Forgery): the private-IP/safety guard evaluates the user-supplied URL once, but the underlying HTTP client transparently follows redirects and each redirected hop is not re-checked against the guard. This time-of-check/time-of-use gap lets an initially benign-looking external URL pivot, via a 302 Location header, to RFC1918/loopback addresses or cloud metadata services (e.g., 169.254.169.254). The affected component is identified by CPE cpe:2.3:a:internlm:lmdeploy (all versions prior to the fix).

Know when Lmdeploy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.7 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
vuln.today AI 8.6 HIGH

Unauthenticated network SSRF (AV:N/AC:L/PR:N/UI:N) that pivots into other systems (S:C); reachable internal services and cloud IAM metadata make C:H, with no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Jul 23, 2026 - 18:28 vuln.today
v2 - CVSS changed
Severity Changed
Jul 23, 2026 - 18:22 NVD
CRITICAL HIGH
CVSS changed
Jul 23, 2026 - 18:22 NVD
9.2 (CRITICAL) 7.7 (HIGH)
CVE Published
Jul 21, 2026 - 20:36 cve.org
CRITICAL 9.2

DescriptionCVE.org

lmdeploy's OpenAI-compatible API server contains a server-side request forgery vulnerability that allows unauthenticated attackers to access internal services and cloud metadata endpoints by supplying a crafted image_url that redirects to internal targets. Attackers can send a POST request to the chat completions endpoint with an image_url pointing to an attacker-controlled server that responds with an HTTP 302 redirect to internal addresses such as loopback or instance-metadata endpoints, bypassing the initial URL safety check because redirects are followed without re-validating each hop through the safety guard.

Executive ViewAI

Why It Matters

InternLM lmdeploy's vision API server contains an unauthenticated server-side request forgery (SSRF) vulnerability enabling remote attackers to access internal resources and retrieve cloud credentials through improper redirect handling. Organizations deploying lmdeploy for API services face exposure of internal systems and authentication material, requiring immediate inventory and patch deployment.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche open-source LLM/VLM inference server, specialized ML deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*
CVE-2025-59953 CRITICAL POC
9.8 Sep 16

Remote code execution in InternLM LMDeploy versions 0.9.1 through 0.10.1 allows unauthenticated network attackers to run

CVE-2026-33626 HIGH POC
7.5 Apr 20

Server-Side Request Forgery (SSRF) in InternLM LMDeploy's vision-language module allows remote unauthenticated attackers

CVE-2026-76850 CRITICAL
9.3 Aug 19

Unauthenticated remote code execution in InternLM LMDeploy (versions 0.9.2 through 0.15.x) allows a remote attacker to e

CVE-2026-119706 CRITICAL
9.3 Oct 30

Unauthenticated remote code execution in InternLM LMDeploy versions 0.9.0 through 0.18.0 lets remote attackers run arbit

CVE-2025-67729 HIGH
8.8 Dec 26

Arbitrary code execution in InternLM LMDeploy 0.11 and earlier: the toolkit calls torch.load() without weights_only=True

CVE-2025-3162 MEDIUM POC
4.8 Apr 03

A vulnerability was found in InternLM LMDeploy up to 0.7.1. Rated medium severity (CVSS 4.8), this vulnerability is low

CVE-2025-3163 MEDIUM POC
4.8 Apr 03

A vulnerability was found in InternLM LMDeploy up to 0.7.1. Rated medium severity (CVSS 4.8), this vulnerability is low

CVE-2026-92971 HIGH
8.7 Sep 17

Denial of service in InternLM LMDeploy through 0.17.0 lets unauthenticated remote attackers crash the distributed infere

CVE-2026-92983 HIGH
8.7 Sep 17

Memory exhaustion in InternLM LMDeploy through 0.17.0 can be triggered by unauthenticated remote attackers who send repe

CVE-2026-123818 HIGH
7.5 Nov 09

Server-side request forgery in LMDeploy 0.12.3 through 0.14.x lets remote unauthenticated clients steer the server's mul

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy