CVE-2025-55178 Llama Stack could potentially allow for remote code execution
Attackers can achieve remote code execution in Llama Stack by exploiting unverified parameters in the resolve_ast_by_type function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-55178?
CVE-2025-55178 is a medium-severity code injection vulnerability in Meta Platforms, Inc Llama Stack, published on 24 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Llama Stack prior to version v0.2.20 accepted unverified parameters in the resolve_ast_by_type function which could potentially allow for remote code execution.
Which versions are affected by CVE-2025-55178?
3 open source packages ship an affected version, including llama-stack.
| Package | Affected | Fixed in |
|---|---|---|
llama-stack PyPI | All versions | 0.2.20 |
llama-stack PyPI | All versions | 0.2.20 |
llama-stack PyPI | All versions | 0.2.20 |
How do I fix CVE-2025-55178?
Upgrade llama-stack to 0.2.20 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-55178 being exploited?
There is no known exploitation of CVE-2025-55178 in the wild and no public exploit code.
Sources
Also known as GHSA-x75h-m6jj-6cj2, PYSEC-2026-1571.