漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/advisories/GHSA-6w67-hwm5-92mq↗github.comhttps://github.com/InternLM/lmdeploy/security/advisories/GHSA-6w67-hwm5-92mq↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-33626↗github.comhttps://github.com/InternLM/lmdeploy/commit/71d64a339edb901e9005358e0633fbbab367d626↗github.comhttps://github.com/InternLM/lmdeploy/pull/4447↗github.comhttps://github.com/InternLM/lmdeploy/releases/tag/v0.12.3↗