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.
Fix
Patch, vendor advisory and mitigation references on NVD 5
- https://github.com/InternLM/lmdeploy/commit/03c313006d17cc3feae86b633c44206a997c44db Patch
- https://github.com/InternLM/lmdeploy/issues/4761 Exploit, Issue Tracking, Mitigation
- https://github.com/InternLM/lmdeploy/pull/4734 Issue Tracking, Patch
- https://www.vulncheck.com/advisories/lmdeploy-server-side-request-forgery-via-http-redirect-bypass Exploit, Patch, Third Party Advisory
- https://github.com/InternLM/lmdeploy/issues/4761 Exploit, Issue Tracking, Mitigation
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.7 · internlmNVD modified 2026-10-24 19:10
Affected (CPE criteria) 1
cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*
References 5
- https://github.com/InternLM/lmdeploy/commit/03c313006d17cc3feae86b633c44206a997c44db Patch
- https://github.com/InternLM/lmdeploy/issues/4761 Exploit, Issue Tracking, Mitigation
- https://github.com/InternLM/lmdeploy/pull/4734 Issue Tracking, Patch
- https://www.vulncheck.com/advisories/lmdeploy-server-side-request-forgery-via-http-redirect-bypass Exploit, Patch, Third Party Advisory
- https://github.com/InternLM/lmdeploy/issues/4761 Exploit, Issue Tracking, Mitigation