Add vLLM Anthropic router info-leak scanner for CVE-2026-54236 #21593
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.54) × (1 − Review Confidence (0.41)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.54 · 342 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.349
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #21593"
general
weight: 0.35
kenlacroix
Description
Adds an
auxiliary/scanner/httpmodule for CVE-2026-54236 (GHSA-hgg8-fqqc-vfmw), the incomplete fix for CVE-2026-22778.The CVE-2026-22778 fix added
sanitize_messageto the OpenAI router's exception handlers, so a malformed image no longer leaks Pillow'sBytesIOobject repr (<_io.BytesIO object at 0x...>, a live heap address). But the Anthropic-compatible router (/v1/messages, added early 2026) and the speech-to-text endpoints echostr(exc)directly, so the same malformed image still leaks the heap address verbatim through those paths. The leak weakens ASLR and is the entry primitive of the CVE-2026-22778 RCE chain. All versions up to and including 0.23.0 are affected; no fixed release was available at disclosure (fix pending in vllm-project/vllm#45119).The module auto-detects the served model via
/v1/modelsand sends a single benign malformed base64 image to/v1/messages. A leaked0xaddress → Vulnerable; a sanitized message or absent endpoint → Safe. The probe never reaches the downstream heap-overflow code path (CRASH_SAFE).This complements the OpenAI-router scanner in #21592 (CVE-2026-22778); the two endpoints behave differently on a patched server, so a separate module is warranted.
Verification
use auxiliary/scanner/http/vllm_anthropic_info_leakset RHOSTS <target>runThe target is vulnerable. Heap-address leak confirmed via Anthropic /v1/messages (vLLM <version>)Verified live against vLLM 0.23.0 (the latest release, which still leaks via
/v1/messageswhile its OpenAI path is sanitized): module reports Vulnerable with the leaked heap address.References
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Added a scanner that checks vLLM Anthropic endpoints for exposed heap addresses and reports confirmed findings.
The scanner can identify the model automatically or use a configured model, and reports service version information when available.
Documentation
* Added setup, verification, option, and example guidance for the scanner, including how vulnerable and patched responses are classified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->