7.1high
Vllm: server side request forgery (ssrf) in mediaconnector
- Severity
- 7.1high CVSS:3.1 by redhat
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-3f6c-7fw2-ppm4PYSEC-2026-2011
Description
A Server-Side Request Forgery (SSRF) vulnerability exists in the MediaConnector class within the vLLM project's multimodal feature set. The load_from_url and load_from_url_async methods fetch and process media from user-provided URLs without adequate restrictions on the target hosts. This allows an attacker to coerce the vLLM server into making arbitrary requests to internal network resources.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rhaiis-preview/vllm-cuda-rhel9 | Not specified | CVE List |
| rhaiis/vllm-cuda-rhel9 | Not specified | CVE List |
| rhaiis/vllm-rocm-rhel9 | Not specified | CVE List |
| rhaiis/vllm-tpu-rhel9 | Not specified | CVE List |
| rhelai1/bootc-amd-rhel9 | Not specified | CVE List |
| rhelai1/bootc-aws-nvidia-rhel9 | Not specified | CVE List |
| rhelai1/bootc-azure-amd-rhel9 | Not specified | CVE List |
| rhelai1/bootc-azure-nvidia-rhel9 | Not specified | CVE List |
| rhelai1/bootc-gcp-nvidia-rhel9 | Not specified | CVE List |
| rhelai1/bootc-intel-rhel9 | Not specified | CVE List |
| rhelai1/bootc-nvidia-rhel9 | Not specified | CVE List |
| rhelai1/disk-image-nvidia-rhel9 | Not specified | CVE List |
| rhelai1/docling-serve-rhel9 | Not specified | CVE List |
| rhelai1/gemma-2-9b-it | Not specified | CVE List |
| rhelai1/gemma-2-9b-it-fp8 | Not specified | CVE List |
| rhelai1/granite-3.1-8b-lab-v1 | Not specified | CVE List |
| rhelai1/granite-3.1-8b-lab-v2.1 | Not specified | CVE List |
| rhelai1/granite-3.1-8b-starter-v1 | Not specified | CVE List |
| rhelai1/granite-3.1-8b-starter-v2.1 | Not specified | CVE List |
| rhelai1/granite-7b-redhat-lab | Not specified | CVE List |
| rhelai1/granite-7b-starter | Not specified | CVE List |
| rhelai1/granite-8b-code-base | Not specified | CVE List |
| rhelai1/granite-8b-code-instruct | Not specified | CVE List |
| rhelai1/granite-8b-lab-v1 | Not specified | CVE List |
| rhelai1/granite-8b-lab-v2-preview | Not specified | CVE List |
| rhelai1/granite-8b-starter-v1 | Not specified | CVE List |
| rhelai1/instructlab-amd-rhel9 | Not specified | CVE List |
| rhelai1/instructlab-intel-rhel9 | Not specified | CVE List |
| rhelai1/instructlab-nvidia-rhel9 | Not specified | CVE List |
| rhelai1/knowledge-adapter-v3 | Not specified | CVE List |
| rhelai1/mixtral-8x7b-instruct-v0-1 | Not specified | CVE List |
| rhelai1/modelcar-docling-layout | Not specified | CVE List |
| rhelai1/modelcar-docling-tableformer | Not specified | CVE List |
| rhelai1/modelcar-gemma-2-9b-it | Not specified | CVE List |
| rhelai1/modelcar-gemma-2-9b-it-fp8 | Not specified | CVE List |
| rhelai1/modelcar-granite-3-1-8b-lab-v1 | Not specified | CVE List |
| rhelai1/modelcar-granite-3-1-8b-lab-v2 | Not specified | CVE List |
| rhelai1/modelcar-granite-3-1-8b-lab-v2-1 | Not specified | CVE List |
| rhelai1/modelcar-granite-3-1-8b-starter-v1 | Not specified | CVE List |
| rhelai1/modelcar-granite-3-1-8b-starter-v2 | Not specified | CVE List |
| rhelai1/modelcar-granite-3-1-8b-starter-v2-1 | Not specified | CVE List |
| rhelai1/modelcar-granite-7b-redhat-lab | Not specified | CVE List |
| rhelai1/modelcar-granite-7b-starter | Not specified | CVE List |
| rhelai1/modelcar-granite-8b-code-base | Not specified | CVE List |
| rhelai1/modelcar-granite-8b-code-instruct | Not specified | CVE List |
| rhelai1/modelcar-granite-8b-lab-v1 | Not specified | CVE List |
| rhelai1/modelcar-granite-8b-lab-v2-preview | Not specified | CVE List |
| rhelai1/modelcar-granite-8b-starter-v1 | Not specified | CVE List |
| rhelai1/modelcar-knowledge-adapter-v3 | Not specified | CVE List |
| rhelai1/modelcar-mixtral-8x7b-instruct-v0-1 | Not specified | CVE List |
| rhelai1/modelcar-prometheus-8x7b-v2-0 | Not specified | CVE List |
| rhelai1/modelcar-skills-adapter-v3 | Not specified | CVE List |
| rhelai1/modelcar-snowflake-arctic-embed-l-v2.0 | Not specified | CVE List |
| rhelai1/pathservice-rhel9 | Not specified | CVE List |
| rhelai1/prometheus-8x7b-v2-0 | Not specified | CVE List |
| rhelai1/skills-adapter-v3 | Not specified | CVE List |
| rhelai1/ui-rhel9 | Not specified | CVE List |
| vllm (PyPI) | from 0.5.0 before 0.11.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| redhat | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H |
| PyPA Advisory Database | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H |
Classification
What each source says
CVE List
A Server-Side Request Forgery (SSRF) vulnerability exists in the MediaConnector class within the vLLM project's multimodal feature set. The load_from_url and load_from_url_async methods fetch and process media from user-provided URLs without adequate restrictions on the target hosts. This allows an attacker to coerce the vLLM server into making arbitrary requests to internal network resources.
GitHub Advisory Database
Summary
A Server-Side Request Forgery (SSRF) vulnerability exists in the MediaConnector class within the vLLM project's multimodal feature set. The load_from_url and load_from_url_async methods fetch and process media from user-provided URLs without adequate restrictions on the target hosts. This allows an attacker to coerce the vLLM server into making arbitrary requests to internal network resources.
This vulnerability is particularly critical in containerized environments like llm-d, where a compromised vLLM pod could be used to scan the internal network, interact with other pods, and potentially cause denial of service or access sensitive data. For example, an attacker could make the vLLM pod send malicious requests to an internal llm-d management endpoint, leading to system instability by falsely reporting metrics like the KV cache state.
Vulnerability Details
The core of the vulnerability lies in the MediaConnector.load_from_url method and its asynchronous counterpart. These methods accept a URL string to fetch media content (images, audio, video).
The function directly processes URLs with http, https, and file schemes. An attacker can supply a URL pointing to an internal IP address or a localhost endpoint. The vLLM server will then initiate a connection to this internal resource.
- HTTP/HTTPS Scheme: An attacker can craft a request like
{"image_url": "http://127.0.0.1:8080/internal_api"}. The vLLM server will send a GET request to this internal endpoint. - File Scheme: The
_load_file_urlmethod attempts to restrict file access to a subdirectory defined by--allowed-local-media-path. While this is a good security measure for local file access, it does not prevent network-based SSRF attacks.
Impact in llm-d Environments
The risk is significantly amplified in orchestrated environments such as llm-d, where multiple pods communicate over an internal network.
-
Denial of Service (DoS): An attacker could target internal management endpoints of other services within the
llm-dcluster. For instance, if a monitoring or metrics service is exposed internally, an attacker could send malformed requests to it. A specific example is an attacker causing the vLLM pod to call an internal API that reports a false KV cache utilization, potentially triggering incorrect scaling decisions or even a system shutdown. -
Internal Network Reconnaissance: Attackers can use the vulnerability to scan the internal network for open ports and services by providing URLs like
http://10.0.0.X:PORTand observing the server's response time or error messages. -
Interaction with Internal Services: Any unsecured internal service becomes a potential target. This could include databases, internal APIs, or other model pods that might not have robust authentication, as they are not expected to be directly exposed.
Delegating this security responsibility to an upper-level orchestrator like llm-d is problematic. The orchestrator cannot easily distinguish between legitimate requests initiated by the vLLM engine for its own purposes and malicious requests originating from user input, thus complicating traffic filtering rules and increasing management overhead.
Fix
See the --allowed-media-domains option discussed here: https://docs.vllm.ai/en/latest/usage/security.html#4-restrict-domains-access-for-media-urls
NVD (es)
Una vulnerabilidad de falsificación de petición del lado del servidor (SSRF) existe en la clase MediaConnector dentro del conjunto de características multimodales del proyecto vLLM. Los métodos load_from_url y load_from_url_async obtienen y procesan medios de URLs proporcionadas por el usuario sin restricciones adecuadas en los hosts de destino. Esto permite a un atacante coaccionar al servidor vLLM para que realice peticiones arbitrarias a recursos de red internos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6242 changed 2025-10-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3f6c-7fw2-ppm4 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-6242 changed 2026-10-18 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2011 changed 2026-07-07 | CC-BY-4.0 |