VDB
Sign up
—

PYSEC-2026-1757

pandasai vulnerable to prompt injection

Quick fix

PYSEC-2026-1757 — pandasai: upgrade to the fixed version with the command below.

pip install --upgrade 'pandasai>=0.8.1'

Details

An issue in Gaberiele Venturi pandasai v.0.8.0 and before allows a remote attacker to execute arbitrary code via a crafted request to the prompt function.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pandasai
Introduced in: 0Fixed in: 0.8.1
Fixpip install --upgrade 'pandasai>=0.8.1'

References