Skip to main content

Lmdeploy CVE-2026-33626

| EUVDEUVD-2026-23970 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-20 GitHub_M GHSA-6w67-hwm5-92mq
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
    Identify LMDeploy vision-language API endpoint
  2. Delivery
    Craft inference request with malicious URL (metadata service or internal IP)
  3. Exploit
    LMDeploy server executes SSRF via load_image()
  4. Execution
    Retrieve sensitive data from response (credentials, internal documents, network mapping)
  5. Impact
    Leverage 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.

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

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

Alert me

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

LMDeploy < 0.12.3

Affected Packages

pypi lmdeploy fix: 0.12.3

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
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

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

Lifecycle Timeline

4
PoC Detected
Apr 23, 2026 - 13:39 vuln.today
Public exploit code
Patch released
Apr 23, 2026 - 13:39 nvd
Patch available
Patch available
Apr 20, 2026 - 22:31 EUVD
CVE Published
Apr 20, 2026 - 20:29 nvd
HIGH 7.5

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

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
2
1 sources
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS GHSA POC (1) CIRCL GitHub VulDB

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 Yes
EPSS 0.0%
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
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-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

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