CVE-2026-63764

LMDeploy Server-Side Request Forgery via HTTP Redirect Bypass

Published Jul 21, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
LMDeploy through 0.14.0, fixed in commit 03c3130, contains a server-side request forgery (SSRF) vulnerability in the _load_http_url function within the connection.py media handler, where the private-IP guard validates only the original URL without re-validating hosts after HTTP redirects. An unauthenticated attacker can submit a crafted image_url to the chat completions endpoint pointing to an attacker-controlled host that returns a redirect to a private IP or cloud-metadata endpoint, causing the server to follow the redirect and expose internal service content through the model pipeline.

Analysis

AI-generated

Technical impact

lmdeploy contains a server‑side request forgery flaw that allows an attacker to specify an image_url in a chat completions request that redirects to internal or private IP addresses. The redirect is followed without re‑checking the safety guard, letting the server fetch data from internal services or metadata endpoints and return it to the attacker.

Affected Systems

InternLM’s lmdeploy product. All releases up to and including 0.14.0 are affected.

Risk and Exploitability

The CVSS score of 7.7 classifies this as high severity. The EPSS score of less than 1 % indicates a very low probability of exploitation, and the vulnerability is not listed in CISA KEV. Attackers would need to send a POST request to the chat completions endpoint with a crafted image_url that triggers an HTTP 302 redirect to a private IP or metadata service. The vulnerability is exploitable remotely from the Internet to internal targets.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch that updates lmdeploy to a version newer than 0.14.0; the fixed commit is 03c3130.
  • Ensure HTTP redirect logic strictly validates that the final URL does not target private or internal IP ranges; configure bridging or proxy to reject such redirects.
  • For an interim measure, restrict access to the chat completions endpoint with network segmentation or firewall rules, or disable the endpoint until the patch can be applied.

Generated by OpenCVE AI on August 4, 2026 at 05:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description lmdeploy's OpenAI-compatible API server contains a server-side request forgery vulnerability that allows unauthenticated attackers to access internal services and cloud metadata endpoints by supplying a crafted image_url that redirects to internal targets. Attackers can send a POST request to the chat completions endpoint with an image_url pointing to an attacker-controlled server that responds with an HTTP 302 redirect to internal addresses such as loopback or instance-metadata endpoints, bypassing the initial URL safety check because redirects are followed without re-validating each hop through the safety guard. LMDeploy through 0.14.0, fixed in commit 03c3130, contains a server-side request forgery (SSRF) vulnerability in the _load_http_url function within the connection.py media handler, where the private-IP guard validates only the original URL without re-validating hosts after HTTP redirects. An unauthenticated attacker can submit a crafted image_url to the chat completions endpoint pointing to an attacker-controlled host that returns a redirect to a private IP or cloud-metadata endpoint, causing the server to follow the redirect and expose internal service content through the model pipeline.
Title lmdeploy Server-Side Request Forgery via HTTP Redirect Bypass of Private-IP Guard in Vision Image Fetch LMDeploy Server-Side Request Forgery via HTTP Redirect Bypass
CPEs cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L'}

cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Internlm
Internlm lmdeploy
Vendors & Products Internlm
Internlm lmdeploy
Type Values Removed Values Added
Description lmdeploy's OpenAI-compatible API server contains a server-side request forgery vulnerability that allows unauthenticated attackers to access internal services and cloud metadata endpoints by supplying a crafted image_url that redirects to internal targets. Attackers can send a POST request to the chat completions endpoint with an image_url pointing to an attacker-controlled server that responds with an HTTP 302 redirect to internal addresses such as loopback or instance-metadata endpoints, bypassing the initial URL safety check because redirects are followed without re-validating each hop through the safety guard.
Title lmdeploy Server-Side Request Forgery via HTTP Redirect Bypass of Private-IP Guard in Vision Image Fetch
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 17, 2026, 6:57 PM
Reserved
Jul 18, 2026, 12:34 PM
Status
Analyzed
Published
Jul 21, 2026, 9:16 PM
Modified
Oct 24, 2026, 7:10 PM