Advisory

GHSA-w832-v3c6-m6rg

Also known as: CVE-2023-39660, PYSEC-2026-1757

Summary

pandasai vulnerable to prompt injection

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-08-21 18:31 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

pandasai

PyPI · All systems

Affected

  • introduced 0, fixed 0.8.1 (ecosystem)

Fixed versions

0.8.1

Fix

  • Fixed version 0.8.1
    pip install --upgrade pandasai==0.8.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences