Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted media URL to api_server
-
Delivery_is_safe_url resolves hostname to public IP
-
Exploitrequests parses backslash, targets internal host
-
ExecutionFetch internal HTTP service
-
ImpactExfiltrate internal response data
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 application to accept attacker-controlled remote media (image/multimodal) URLs that are validated by _is_safe_url and then fetched via requests.Session().get - i.e., the media URL fetch path of LMDeploy's serving/pipeline interface must be reachable by the attacker. The crafted URL uses a backslash/userinfo ambiguity (e.g. http://host\@publicip) so urlparse and requests disagree on the destination host. Limiting factors: the api_server must be exposed to untrusted clients for the PR:N/unauthenticated case to hold (internal-only deployments reduce exposure), and version must be in the >=0.12.3, <0.15.0 range. Mitigation per the vendor: upgrade to 0.15.0; additionally the fix introduces --allowed-media-domains to restrict HTTP(S) media URLs to an exact-hostname allowlist, reducing SSRF risk when the server faces untrusted clients. |
| Impact | This is a genuine, well-substantiated SSRF (CWE-918), backed by a parser-differential root cause (the GHSA also tags CWE-436, interpretation conflict) between Python's urlparse (used by _is_safe_url for validation) and requests (used to send the fetch), where a URL like http://127.0.0.1:6666\@1.1.1.1 validates as the public host 1.1.1.1 but connects to 127.0.0.1. The CVSS 7.5 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) is internally consistent with the mechanism: network reachable, low complexity, no privileges, confidentiality-only impact (read internal services), no integrity/availability change. Signals mostly align toward prioritization: the vendor-published vuln.today Decision label is 'this_week', a detailed PoC with working test code is in the advisory, and a fix plus a defense-in-depth allowlist exist - but exploitation is gated by a precondition (the app must accept attacker-controlled remote media URLs and expose the multimodal media-fetch path to untrusted clients). No EPSS score is provided in the input, and there is no CISA KEV listing, so there is no evidence of active, widespread exploitation; this reads as a credible, patch-this-week issue rather than an emergency. The PR:N rating holds only for deployments whose api_server is reachable by untrusted clients - an internal-only deployment materially lowers real-world risk. |
| Exploit ScenarioDerived | An attacker with access to an LMDeploy api_server endpoint that accepts remote media URLs submits http://127.0.0.1:6666\@1.1.1.1; _is_safe_url resolves the hostname to the public 1.1.1.1 and permits it, while requests.Session().get instead connects to the internal 127.0.0.1:6666. The attacker thereby reaches internal-only HTTP services (cloud metadata endpoints, admin panels, internal APIs) and exfiltrates data returned by them. A public PoC reference exists in the GHSA advisory (including a reproduction script); it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Server-side request forgery in LMDeploy 0.12.3 through 0.14.x lets remote unauthenticated clients steer the server's multimodal media fetch toward internal HTTP services. The _is_safe_url guard validates with urlparse while the fetch is issued through requests.Session().get, and the two disagree about a backslash/userinfo URL such as http://127.0.0.1:6666\@1.1.1.1 - validation resolves the public host 1.1.1.1, while the request connects to 127.0.0.1, exposing whatever internal services return. Impact is confidentiality-only (C:H/I:N/A:N), the vendor advisory includes a public PoC reference, and the issue is prioritized for remediation this week; exposure depends on an api_server or pipeline endpoint that accepts attacker-supplied media URLs.
RemediationAI
Vendor-released patch: LMDeploy 0.15.0 (https://github.com/InternLM/lmdeploy/releases/tag/v0.15.0), containing the fix from PR https://github.com/InternLM/lmdeploy/pull/4734 / commit 03c313006d17cc3feae86b633c44206a997c44db. Upgrade any deployment in the >= 0.12.3, < 0.15.0 range to 0.15.0 or later. The fix also introduces a new startup option, --allowed-media-domains, which restricts HTTP(S) media URL fetching to an exact-hostname allowlist (for example, lmdeploy serve api_server <model_path> --allowed-media-domains example.com); per the vendor documentation the match is exact, so allowing example.com does not permit cdn.example.com, meaning every media host, subdomain included, must be enumerated explicitly - the trade-off is that legitimate media from unlisted hosts will be rejected. The vendor advisory notes this allowlist is intended to reduce SSRF risk when the API server is exposed to untrusted clients. Because the confidentiality impact only materializes when attacker-controlled media URLs reach the fetch path, deployments that cannot upgrade immediately should restrict reachability of the api_server/pipeline media endpoints to trusted clients rather than leaving them open to untrusted input. Full advisory: https://github.com/InternLM/lmdeploy/security/advisories/GHSA-39wr-7q6h-cf68.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LMDeploy's media-fetch path screens remote HTTP(S) image/multimodal URLs with _is_safe_url, which parses the candidate URL via urllib.parse.urlparse and then resolves the extracted hostname through socket.getaddrinfo, rejecting any resolved address for which ipaddress reports is_global as false (private, loopback, link-local, multicast, reserved, unspecified). The request itself is then sent with requests.Session().get. The two parsers apply different rules to the backslash character and to the '@' userinfo delimiter: urlparse treats '\' as an ordinary character and '@' as the userinfo/host separator, so http://127.0.0.1:6666\@1.1.1.1 yields hostname 1.1.1.1; requests treats '\' as a path separator, so the same string is dispatched to http://127.0.0.1:6666/. This is a classic parser-differential (CWE-436 interpretation conflict) enabling CWE-918 server-side request forgery - the validator and the consumer disagree on which authority component determines the destination host, so a globally routable hostname can be validated while the connection lands on an internal address. Affected package: pip/lmdeploy, CPE cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*. The trigger described in the sources is the media URL validation-then-fetch sequence; other code paths were not analyzed.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable parser-confusion SSRF, reliably triggered (AC:L) with no auth when the media-fetch endpoint is exposed (PR:N); it discloses internal service data only, so C:H, I:N, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
LMDeploy is a toolkit for compressing, deploying, and serving large language models. From 0.12.3 until 0.15.0, _is_safe_url validates remote media URLs with urlparse while requests.Session().get interprets backslashes differently when sending the request. An attacker can provide a URL whose validation hostname appears globally routable but whose request destination resolves to an internal host, bypassing non-global address checks. Applications that accept attacker-controlled remote media URLs can therefore be induced to access internal HTTP services and expose data available from those services. This issue is fixed in version 0.15.0.
Technical POC Analysis
CWE-918 (Server-Side Request Forgery), with the advisory also tagging CWE-436 (Interpretation Conflict).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
LMDeploy's multimodal serving component contains a high-severity server-side request forgery flaw that allows unauthenticated attackers to access internal network services. Any organization exposing LMDeploy's API or pipeline endpoints to untrusted networks risks confidential data exposure from internal systems. Leadership should prioritize remediation because the flaw is publicly known and requires no credentials to exploit.
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.
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 InternLM lmdeploy's OpenAI-compatible vision API server lets unauthenticated remote attac
EUVD-2026-120455
GHSA-39wr-7q6h-cf68
NVD
CVE.org
EPSS
Exploit-DB