pandasai@2.3.2 vulnerabilities

Chat with your database (SQL, CSV, pandas, polars, mongodb, noSQL, etc). PandasAI makes data analysis conversational using LLMs (GPT 3.5 / 4, Anthropic, VertexAI) and RAG.

Direct Vulnerabilities

Known vulnerabilities in the pandasai package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • C
Arbitrary Code Injection

pandasai is a Pandas AI is a Python library that integrates generative artificial intelligence capabilities into Pandas, making dataframes conversational.

Affected versions of this package are vulnerable to Arbitrary Code Injection through the interactive prompt function. An attacker with access to the chat prompt can bypass PandasAI's restrictions to execute arbitrary code by injecting malicious inputs into the prompt, which are incorrectly processed as legitimate commands.

How to fix Arbitrary Code Injection?

Upgrade pandasai to version 2.4.2 or higher.

[,2.4.2)
  • M
Arbitrary Code Execution

pandasai is a Pandas AI is a Python library that integrates generative artificial intelligence capabilities into Pandas, making dataframes conversational.

Affected versions of this package are vulnerable to Arbitrary Code Execution via the _is_jailbreak function.

How to fix Arbitrary Code Execution?

There is no fixed version for pandasai.

[0,)