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.
https://www.vulncheck.com/advisories/lmdeploy-server-side-request-forgery-via-http-redirect-bypass
https://github.com/InternLM/lmdeploy/pull/4734
https://github.com/InternLM/lmdeploy/issues/4761
https://github.com/InternLM/lmdeploy/commit/03c313006d17cc3feae86b633c44206a997c44db
Published: 2026-07-21
Updated: 2026-07-23
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N
Severity: High
Base Score: 9.3
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Severity: Critical
Base 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
Severity: Critical
EPSS: 0.00276