VDB
Sign up
MEDIUM5.3

PYSEC-2026-1571

Llama Stack could potentially allow for remote code execution

Quick fix

PYSEC-2026-1571 — llama-stack: upgrade to the fixed version with the command below.

pip install --upgrade 'llama-stack>=0.2.20'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/llama-stack
Introduced in: 0Fixed in: 0.2.20
Fixpip install --upgrade 'llama-stack>=0.2.20'

References