Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify LMDeploy vision-language API endpoint
-
DeliveryCraft inference request with malicious URL (metadata service or internal IP)
-
ExploitLMDeploy server executes SSRF via load_image()
-
ExecutionRetrieve sensitive data from response (credentials, internal documents, network mapping)
-
ImpactLeverage exposed credentials for lateral movement or data exfiltration
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 deployment to expose the vision-language module's image processing API (specifically any endpoint that accepts user-supplied image URLs and invokes the load_image() function in lmdeploy/vl/utils.py). The vulnerable code path is triggered when processing vision-language model inference requests with URL-based image inputs rather than base64-encoded images. No authentication is required (PR:N in CVSS vector confirms remote unauthenticated access). The server must have network connectivity to the targeted internal resources or metadata services-deployments in isolated VPCs without metadata service access or with strict egress filtering are protected. User interaction is not required (UI:N). Attack complexity is low (AC:L) because no race conditions, cryptographic operations, or reconnaissance beyond identifying the API endpoint are needed. |
| Impact | Real-world risk is HIGH for deployments exposing LMDeploy's vision-language API to untrusted networks. The CVSS 7.5 score reflects the network attack vector (AV:N), low complexity (AC:L), no authentication requirement (PR:N), and high confidentiality impact (C:H). SSRF vulnerabilities in cloud-deployed ML services are particularly dangerous because they provide direct access to cloud metadata services (AWS EC2 metadata at 169.254.169.254, GCP metadata server, Azure IMDS), which can expose IAM credentials, API keys, and configuration secrets. The scope is unchanged (S:U), meaning the vulnerability stays within the LMDeploy application's privilege context, but this context often includes cloud service credentials sufficient for lateral movement. No public exploit identified at time of analysis and not listed in CISA KEV, suggesting exploitation has not been widespread, but SSRF exploitation techniques are well-documented and easily reproducible once the vulnerable endpoint is identified. EPSS data not available. Priority depends heavily on deployment context: CRITICAL for internet-facing LMDeploy instances in cloud environments with metadata services or internal network access; MEDIUM for air-gapped or fully isolated deployments. The complete lack of authentication requirement (PR:N) means any network-level attacker can exploit this without credential theft or social engineering. |
| Exploit ScenarioDerived | An attacker identifies an internet-facing LMDeploy instance with vision-language capabilities deployed in AWS EC2. They send a crafted inference request with an image URL pointing to http://169.254.169.254/latest/meta-data/iam/security-credentials/ (AWS metadata service). The vulnerable load_image() function fetches this URL server-side and returns the EC2 instance's IAM role credentials in the response or error message. The attacker then uses these temporary AWS credentials to access S3 buckets, databases, or other AWS resources associated with the compromised role, potentially exfiltrating training data, model weights, or customer information. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Server-Side Request Forgery (SSRF) in InternLM LMDeploy's vision-language module allows remote unauthenticated attackers to access cloud metadata services, internal networks, and sensitive resources through unvalidated URL fetching in the load_image() function. Affects all versions prior to 0.12.3. EPSS score not available; no public exploit identified at time of analysis. Patch released in version 0.12.3.
RemediationAI
Upgrade to InternLM LMDeploy version 0.12.3 or later immediately, as confirmed by the official release at https://github.com/InternLM/lmdeploy/releases/tag/v0.12.3. The patch implemented in commit 71d64a339edb901e9005358e0633fbbab367d626 (https://github.com/InternLM/lmdeploy/commit/71d64a339edb901e9005358e0633fbbab367d626) adds IP address validation to the load_image() function. For environments unable to upgrade immediately, implement network-level egress filtering to block LMDeploy server access to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), localhost (127.0.0.0/8), link-local addresses (169.254.0.0/16), and any internal network segments. This compensating control reduces but does not eliminate risk, as attackers may still reach allowed external resources or exploit DNS rebinding techniques. Additionally, restrict the vision-language API endpoints to authenticated users only using reverse proxy authentication (e.g., nginx with basic auth, OAuth2 proxy) as defense-in-depth, though this trades off usability for API consumers. Review cloud security group rules to ensure LMDeploy instances cannot directly access metadata services if compensating controls are used.
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 is InternLM's toolkit for compressing, deploying, and serving large language models. The vulnerability resides in the vision-language (VL) module's image loading functionality (lmdeploy/vl/utils.py). The load_image() function accepts arbitrary URLs for image processing without implementing IP address validation or allow-listing. This is a classic CWE-918 (Server-Side Request Forgery) implementation flaw where user-controlled input directly drives server-side HTTP requests. In ML deployment contexts, vision-language models often process images from URLs during inference, making this function a critical trust boundary. The lack of validation against private IP ranges (RFC 1918), localhost, link-local addresses, and cloud metadata endpoints (169.254.169.254) enables attackers to leverage the LMDeploy server as a proxy to access resources that should be network-isolated from external users.
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
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
LMDeploy is a toolkit for compressing, deploying, and serving large language models. Versions prior to 0.12.3 have a Server-Side Request Forgery (SSRF) vulnerability in LMDeploy's vision-language module. The load_image() function in lmdeploy/vl/utils.py fetches arbitrary URLs without validating internal/private IP addresses, allowing attackers to access cloud metadata services, internal networks, and sensitive resources. Version 0.12.3 patches the issue.
Articles & Coverage 1
Executive ViewAI
InternLM LMDeploy versions prior to 0.12.3 contain a critical Server-Side Request Forgery vulnerability in the vision-language module that enables remote attackers to access cloud metadata services and internal network resources without authentication. Organizations deploying LMDeploy for image processing risk exposure of cloud credentials, internal application data, and lateral movement into backend infrastructure.
Vendor-released patch: version 0.12.3. If immediate patching is not feasible: (1) restrict network egress from LMDeploy instances using firewall rules to block access to cloud metadata services and internal subnets; (2) disable or isolate the vision-language image loading feature until patch deployment; (3) implement network monitoring/IDS signatures to detect metadata service or internal network probing from LMDeploy processes; (4) run LMDeploy in a sandboxed/containerized environment with minimal network privileges.
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
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
Server-side request forgery in LMDeploy 0.12.3 through 0.14.x lets remote unauthenticated clients steer the server's mul
EUVD-2026-23970
GHSA-6w67-hwm5-92mq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB