UTC
High

SSRF via X-Request-Id header drives P2pNcclConnector outbound ZMQ+NCCL pair, leaking KV-cache tensors

GHSA-vfp2-c8pq-v6h6 · published 2026-10-09

Severity
High
CVSS score
Not scored
Chance of exploitation (EPSS)
No CVE
Fixed in
0.24.0
What it is

Any API client that can reach a prefill worker running P2pNcclConnector can exfiltrate the full KV-cache (prompt text and prefix-cached hidden states) of any request that worker processes, using only an HTTP header. The leak also includes the NCCL communicator unique_id, and the blocking ncclCommInitRank call against an unresponsive attacker host constitutes a denial-of-service vector against the prefill worker. CWE-918 (Server-Side Request Forgery), severity high.

What to do

Upgrade vllm to 0.24.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.

Package: vllm (PyPI). Affected versions: >= 0.9.2, < 0.24.0, when using P2pNcclConnector. Patched version: 0.24.0. PR #44854 removed the affected connector and its registration. OpenAIServing._base_request_id in must strip or replace X-Request-Id with a random UUID when P2pNcclConnector is active, preventing any user-supplied value from reaching parse_request_id. Additionally, create_connect in must validate remote_address against an operator-configured CIDR/hostname allow-list (supplied via kv_connector_extra_config) before opening the ZMQ socket and initiating NCCL bootstrap.

Affected
PackageRegistryAffectedFixed in
vllmPyPI>= 0.9.2, < 0.24.00.24.0

The impact, patch and workaround text comes from the advisory, shortened (published by vLLM). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].