GHSA-rqhf-rg9p-w5ggCriticalCVSS 9.3
lmdeploy's OpenAI-compatible API server contains a server-side request forgery vulnerability that...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-63764
- https://github.com/InternLM/lmdeploy/issues/4761
- https://github.com/InternLM/lmdeploy
- https://www.vulncheck.com/advisories/lmdeploy-server-side-request-forgery-via-http-redirect-bypass-of-private-ip-guard-in-vision-image-fetch
- https://github.com/advisories/GHSA-rqhf-rg9p-w5gg