Summary
CVE-2026-126398 is a denial-of-service vulnerability (CWE-617, Reachable Assertion) in vLLM versions 0.28.0 up to, but not including, 0.30.0. An unauthenticated remote attacker can crash the vLLM server process by submitting an embeddings-only request to an affected model. The CVE record gives a CVSS v4.0 score of 8.2 (High). The vendor advisory and the CVSS v3.1 score rate it Moderate (5.9).
Technical details
- Root cause:
GPUModelRunner._init_xdrope_positionscontains an assertion that requiresprompt_token_idsto be present. Embeddings-only requests legitimately haveNonefor this field. The assertion is a type-narrowing guard that is not always true. The vendor describes the same pattern as a previously fixed M-RoPE issue. - Trigger conditions: The server must serve an XD-RoPE model (
rope_scaling.type == "xdrope", for example Tencent’s HunyuanOCR). It must also run with prompt embeddings support enabled (--enable-prompt-embeds). The attacker then submits an embeddings-only request. - Attack vector: Network. No authentication or user interaction is required. The CVSS v4.0 vector rates attack complexity as high and lists attack requirements as present (AT:P).
- Impact: A single request can crash the entire server process. All concurrent clients are disconnected. The advisory reports no confidentiality or integrity impact.
Affected software
- vLLM 0.28.0 and later, before 0.30.0.
- Exposure applies only to deployments that serve XD-RoPE models with
--enable-prompt-embedsenabled.
Severity
- CVSS v4.0: 8.2 (High),
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 5.9 (Medium),
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. The vendor advisory uses this score.
Mitigation and recommended actions
- Immediate: Upgrade to vLLM 0.30.0 or later, which contains the fix (PR #56078).
- If you cannot patch yet:
- Disable the
--enable-prompt-embedsflag. - Use the V2 model runner if it is available in your configuration, instead of the V1 runner.
- Require authentication and request validation at an API gateway in front of vLLM endpoints.
- Restrict network access to the inference API to trusted clients.
- Disable the

