Skip to main content

LMDeploy CVE-2026-123818

| EUVDEUVD-2026-120455 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-09 GitHub_M GHSA-39wr-7q6h-cf68
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted media URL to api_server
  2. Delivery
    _is_safe_url resolves hostname to public IP
  3. Exploit
    requests parses backslash, targets internal host
  4. Execution
    Fetch internal HTTP service
  5. Impact
    Exfiltrate 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.

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

AnalysisAIv1 – 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

LMDeploy 0.12.3, < 0.15.0

Affected Packages

pypi lmdeploy fix: 0.15.0

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

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.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 22:03 EUVD
CVE Published
Nov 09, 2026 - 21:19 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular open-source LLM serving toolkit, specialized but not ubiquitous deployment
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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
High

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.

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-63764 HIGH
7.7 Jul 21

Server-side request forgery in InternLM lmdeploy's OpenAI-compatible vision API server lets unauthenticated remote attac

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