Skip to content
RCE Write-up Advanced

Critical vLLM Flaw Exposes the Soft Underbelly of AI Infrastructure

vLLM deserialised prompt embeddings without verifying their safety, allowing a malicious API request to overwrite memory. An attacker could crash the inference server or potentially execute arbitrary code.

salt.security

Published on salt.security

While the world worries about "jailbreaking" LLMs or preventing them from hallucinating, a critical new vulnerability has just reminded us of a fundamental truth: AI is just software, and software has bugs.

Eric Schwake, Head of Product Marketing, on salt.security

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely unsafe deserialisation of prompt embeddings, made worse by an upstream PyTorch change that disabled default checks which vLLM did not account for.

Impact

A malicious request could crash the production inference server (denial of service) or potentially allow remote code execution, giving the attacker a foothold inside the AI infrastructure.

What the attacker needed

Ability to send API requests to vLLM

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When a server receives data, it often has to unpack it before use. If it does not check that the data is safe first, a crafted package can confuse the server, crash it, or let an attacker run their own commands.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.