UTC
Medium

sanitize_message() address regex is lowercase-only and does not match PIL's uppercase __repr__, leaking live heap addresses to unauthenticat

GHSA-m9fg-w9qh-67pc · published 2026-10-27

Severity
Medium
CVSS score
5.3
Chance of exploitation (EPSS)
No CVE
Fixed in
0.31.0
What it is

Information disclosure: a live heap address of the API-server process, to an unauthenticated remote client. CWE-532. Scope, stated plainly. This is information disclosure, not memory corruption. It is Stage 1 of the chain CVE-2026-22778 was rated 9.8 for - an ASLR defeat that made the second stage reliable. Stage 2 is patched at the current OpenCV floor, so I am not claiming RCE. The value of the fix is that the disclosure primitive the chain depended on is still live, and the advisory that recommended closing it was never acted on. Proposed CVSS v3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (5.3, Medium). Severity is proposed, not insisted on.

What to do

Upgrade vllm to 0.31.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.

test_error_sanitization.py already contains a case with the id pil-image-repr, asserting that the PIL form is scrubbed. Its input is a hand-written lowercase literal that PIL never emits. I ran both halves against the same object class: the test passes, and a real repr() leaks. That is why a documented, accepted recommendation looked already-covered and was never implemented. Any fix must include a test built from a real repr(), not from a literal. 1. Widen the regex to [0-9a-fA-F] and add re.IGNORECASE, as CVE-2026-54236's advisory recommended. …

Affected
PackageRegistryAffectedFixed in
vllmPyPI>= 0.14.0rc1, < 0.31.00.31.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].