CVE-2025-55178 Llama Stack could potentially allow for remote code execution

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
llama-stack PyPIAll versions0.2.20
llama-stack PyPIAll versions0.2.20
llama-stack PyPIAll versions0.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.

Is CVE-2025-55178 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free