CVE-2026-33626: How attackers exploited LMDeploy LLM Inference Engines in 12 hours
LMDeploy's vision-language image loader fetched any user-supplied URL without validating the host, allowing an attacker to perform SSRF against internal services. The attacker used this to probe AWS metadata, Redis, MySQL, and other internal ports, and to confirm out-of-band egress.
webflow.sysdig.com
Published on webflow.sysdig.com
Sysdig Threat Research Team
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the image loader lacked hostname resolution checks, private-network blocklists, and link-local address protection, so it fetched any URL.
Impact
The attacker could read cloud metadata credentials, confirm internal services, and potentially disrupt inference, though the text notes that the v0.12.3 _is_safe_url() check blocks these URLs.
What the attacker needed
LMDeploy version 0.12.2 or earlier; Publicly reachable inference API; No egress filtering on the server
How it was found
- Send a chat completion request with an image_url pointing to the AWS instance metadata service.
- Send another request with image_url pointing to localhost Redis port 6379.
- Send a request with image_url to an out-of-band DNS callback domain to confirm egress.
- Enumerate API endpoints by requesting / and /openapi.json.
- Probe the distributed-serving kill-switch endpoint /distserve/p2p_drop_connect.
- Port-scan localhost services (8080, 3306, 80) using the SSRF primitive.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This bug is a server-side request forgery (SSRF): the server can be tricked into making requests to addresses the attacker cannot reach directly, like internal databases or cloud metadata. The attacker sends a specially crafted image URL to the model, and the server fetches it, potentially exposing sensitive information or allowing port scanning.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.