AgentbeamBeta
AI agent vulnerability · vLLM

CVE-2026-73560: vLLM: SSRF + arbitrary local file read in MiMoV2OmniMultiModalProcessor `_fetch_image` and audio loader bypass MediaConnector protections

mediumCVSS 3.1 6.5GHSA-4hhp-h66f-j5j7

vLLM before 0.26.0 fetches image and audio URLs in the MiMo-V2-Omni processor (`mimo_v2_omni.py`) with plain `requests.get` and `Image.open`, skipping the SSRF and local-path checks of `MediaConnector`. Anyone who controls `multi_modal_data` for `MiMoV2OmniForCausalLM` can probe internal services, reach cloud metadata or read local files. Upgrade to vLLM 0.26.0.

Published Sep 8, 2026 · Analysis Nov 8, 2026

What an attacker can do

In vllm/transformers_utils/processors/mimo_v2_omni.py, _fetch_image takes a string and calls requests.get(src, timeout=30) on http and https values, following redirects with no allowlist. For file:// values and as a fallback for any other string, it calls Image.open on a local path. The audio loader does the same requests.get for URLs. Earlier advisories had fixed the same bug class by routing fetches through MediaConnector, which enforces allowed_local_media_path and SSRF protection. This processor was added later and skipped it.

The attacker must be able to put a string into multi_modal_data["image"] or ["audio"] for a MiMoV2OmniForCausalLM model, and needs a low-privilege account (the CVSS vector says PR:L). The advisory says the public OpenAI chat-completion path is protected by chat_utils.py. Library use such as LLM.generate(multi_modal_data=...), batch jobs and other paths that pass strings to the processor are not.

What the attacker gets: instance metadata such as 169.254.169.254/latest/meta-data/iam/security-credentials/, probing of 127.0.0.1 and private ranges, timing oracles even when the body is not a valid image, and reads of files the vLLM process can open, for example ~/.aws/credentials. The server can also be used to send requests to arbitrary URLs.

Who is affected

vLLM (pip) before 0.26.0. You are only exposed if you serve or run MiMoV2OmniForCausalLM and untrusted input can reach multi_modal_data as a URL or path string. Check the installed version:

pip show vllm

vllm

Ecosystem
PyPI
Affected
< 0.26.0
Fixed in
0.26.0
Check
pip show vllm

How to fix it

Upgrade to vLLM 0.26.0:

pip install --upgrade "vllm==0.26.0"

Pull request 43117 removed media fetching from this processor altogether. Image processing now accepts only PIL.Image objects or decoded tensors. Audio accepts only a decoded (waveform, sample_rate) tuple or an np.ndarray. The allowed_media_domains and allowed_local_media_path settings do not apply to this path.

Offline callers must now pass decoded media, not a URL, path or data: string. Until you upgrade, do not pass user-supplied strings to this model, and block egress from the vLLM host to metadata addresses and internal ranges.

How to tell if you were hit

Check your application logs and vLLM request logs for multi_modal_data values that begin with file://, point at 169.254.169.254 or private ranges, or hold odd local paths. Review egress logs from the vLLM host for requests to metadata endpoints or internal services. In cloud accounts, look for use of the instance role from unexpected places. Beam, if it runs next to your agents, records agent shell commands, file access and MCP tool calls, but it does not see requests handled inside the model server.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

vllm/transformers_utils/processors/mimo_v2_omni.py — the multimodal processor for MiMoV2OmniForCausalLM — issues requests.get(...) directly on user-supplied image and audio URL strings and Image.open(...) on user-supplied local paths, without the SSRF / allowed_local_media_path checks that vllm.multimodal.utils.MediaConnector was hardened with in GHSA-qh4c-xf7m-gxfc, GHSA-v359-jj2v-j536, and GHSA-pf3h-qjgv-vcpr.

This is the same bug class as those three published advisories, in a code path the patches missed. When a user passes a URL or local-file string through multi_modal_data (e.g. LLM.generate(multi_modal_data={"image": "http://..."})), the processor takes the unsanitized string and dispatches it without any URL-scheme allowlist, network-target allowlist, size cap, or local-path allowlist.

Details

File: vllm/transformers_utils/processors/mimo_v2_omni.py (current main)

Sink 1 — image SSRF + local-file read (`_fetch_image`, lines 231–249):

def _fetch_image(src: Any) -> Image.Image:
    if isinstance(src, Image.Image):
        return _to_rgb(src)
    if isinstance(src, bytes):
        return _to_rgb(copy.deepcopy(Image.open(BytesIO(src))))
    if isinstance(src, str):
        if src.startswith(("http://", "https://")):
            r = requests.get(src, timeout=30)              # SSRF: no allowlist, follows redirects
            r.raise_for_status()
            return _to_rgb(copy.deepcopy(Image.open(BytesIO(r.content))))
        if src.startswith("file://"):
            return _to_rgb(Image.open(src[7:]))            # arbitrary local file read
        if src.startswith("data:image"):
            ...
        return _to_rgb(Image.open(src))                    # fallback also opens local files
    raise ValueError(f"Unrecognized image source: {type(src)}")

Sink 2 — audio SSRF (around line 471):

elif audio.startswith(("http://", "https://")):
    r = requests.get(audio, timeout=30)                    # SSRF: same pattern
    r.raise_for_status()
    file_obj = io.BytesIO(r.content)

Reachability. _fetch_image is invoked from MiMoVLProcessor.process_image:

def process_image(self, image: ImageInput) -> torch.Tensor:
    kw = self._resolve_img_kw(image)
    src = image.image
    if isinstance(src, (str, bytes)):
        src = _fetch_image(src)
    ...

MiMoVLProcessor is wrapped by MiMoV2OmniMultiModalProcessor and registered for the MiMoV2OmniForCausalLM model architecture (vllm/model_executor/models/mimo_v2_omni.py:1169). Whenever a user passes a string into multi_modal_data["image"] (or ["audio"]) for this model, the unsanitized URL/path reaches the sink.

Comparison to the recent fixes. The remediation pattern adopted in the three earlier advisories was to route every external resource fetch through MediaConnector, which checks allowed_local_media_path and applies SSRF protection before issuing the network request. chat_utils.py (lines 838, 902, 924, 963, 1053, 1081) already uses self._connector.fetch_image / fetch_audio / fetch_video. The model processor in mimo_v2_omni.py was added later and skipped the connector — it calls requests.get and Image.open directly. Result: the public OpenAI chat-completion path is protected, but library use (LLM.generate(multi_modal_data=...)), batch processing, and any other path that lets a string reach the processor receive no protection.

Impact

  1. SSRF — internal-network probing / cloud-metadata theft. Standard requests.get follows redirects and accepts any URL. An attacker who controls a multi_modal_data value can:
  2. read AWS / GCP / Azure instance metadata (e.g. http://169.254.169.254/latest/meta-data/iam/security-credentials/),
  3. probe internal services on the vLLM host (http://127.0.0.1:<port>, http://10.x.y.z),
  4. exfiltrate via DNS / HTTP timing oracles even when the body is rejected by Image.open.
  5. Arbitrary local file read via file://path (line 242) and the unguarded fallback Image.open(src) (line 248). Any file readable by the vLLM process is reachable through the model pipeline; with suitable formats this exposes /etc/passwd, ~/.aws/credentials, etc.
  6. Server-side traffic generation / amplification by hammering arbitrary URLs from the vLLM host, with a 30-second timeout per request.

Suggested remediation

Replace direct requests.get and bare Image.open paths with MediaConnector.fetch_image / fetch_audio_async (or pass the inputs through MediaConnector before they reach the processor):

# vllm/transformers_utils/processors/mimo_v2_omni.py
from vllm.multimodal.utils import MediaConnector

_connector = MediaConnector()

def _fetch_image(src):
    if isinstance(src, Image.Image):
        return _to_rgb(src)
    if isinstance(src, bytes):
        return _to_rgb(copy.deepcopy(Image.open(BytesIO(src))))
    if isinstance(src, str):
        return _to_rgb(_connector.fetch_image(src))   # delegates to the hardened path
    raise ValueError(f"Unrecognized image source: {type(src)}")

Same change for the audio loader at line 471. This re-uses the SSRF allowlist, allowed_local_media_path policy, and size caps that the previous patches added.

Alternative: forbid str src from reaching the processor and require all multi-modal pre-processing to go through chat_utils.py / MediaConnector before hitting the model. Larger surface change, but completes the architectural fix.

Discovery

Static review on vllm@main (HEAD as of 2026-04-30) — found by triaging the file list against the three recent SSRF advisories: the mimo_v2_omni.py processor, added after those fixes, reintroduced the same bypass class.

Reporter

Ievgen Bondarenko — [email protected] — GitHub @ibondarenko1

Credited to ibondarenko1, jperezdealgaba.

Questions

Is the OpenAI-compatible chat endpoint affected by CVE-2026-73560?

The advisory says that path is protected, because chat_utils.py routes fetches through MediaConnector. Library calls such as LLM.generate(multi_modal_data=...) and other paths that deliver strings to the processor are not protected.

Does it affect every model vLLM serves?

No. The flawed code is the MiMo-V2-Omni processor, registered for MiMoV2OmniForCausalLM.

Which version fixes it?

vLLM 0.26.0. It removes URL and path handling from the processor.

Does the fix break my code?

If you pass a URL, path or data: string to this processor offline, yes. You must pass decoded media instead.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More vLLM vulnerabilities

All vLLM entries