Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed lmdeploy chat completions endpoint
-
DeliveryPOST request with attacker-controlled image_url
-
ExploitServer fetches URL, receives HTTP 302 redirect
-
ExecutionRedirect target skips private-IP safety re-check
-
PersistServer fetches internal or metadata endpoint
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Affected Products (CPE)CVE.org
Remote code execution in InternLM LMDeploy versions 0.9.1 through 0.10.1 allows unauthenticated network attackers to run
Server-Side Request Forgery (SSRF) in InternLM LMDeploy's vision-language module allows remote unauthenticated attackers
Unauthenticated remote code execution in InternLM LMDeploy (versions 0.9.2 through 0.15.x) allows a remote attacker to e
Unauthenticated remote code execution in InternLM LMDeploy versions 0.9.0 through 0.18.0 lets remote attackers run arbit
Arbitrary code execution in InternLM LMDeploy 0.11 and earlier: the toolkit calls torch.load() without weights_only=True
A vulnerability was found in InternLM LMDeploy up to 0.7.1. Rated medium severity (CVSS 4.8), this vulnerability is low
A vulnerability was found in InternLM LMDeploy up to 0.7.1. Rated medium severity (CVSS 4.8), this vulnerability is low
Denial of service in InternLM LMDeploy through 0.17.0 lets unauthenticated remote attackers crash the distributed infere
Memory exhaustion in InternLM LMDeploy through 0.17.0 can be triggered by unauthenticated remote attackers who send repe
Server-side request forgery in LMDeploy 0.12.3 through 0.14.x lets remote unauthenticated clients steer the server's mul
EUVD-2026-46412
GHSA-rqhf-rg9p-w5gg
NVD
CVE.org
EPSS
VulDB
Exploit-DB