CVE-2026-51898
Received Received - Intake

Code Injection in Pandas-AI 3.0.0

Vulnerability report for CVE-2026-51898, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-02

Last updated on: 2026-10-02

Assigner: MITRE

Description

sinaptik-ai pandas-ai 3.0.0 is vulnerable to Code Injection in CodeExecutor.execute.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-02
Last Modified
2026-10-02
Generated
2026-10-02
AI Q&A
2026-10-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sinaptik-ai pandas-ai 3.0.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a code injection vulnerability in pandas-ai version 3.0.0. It affects the CodeExecutor.execute function which runs LLM-generated Python code directly using exec() without sandboxing or input validation. By default, the sandbox is disabled, allowing arbitrary code execution on the host system.

Detection Guidance

To detect this vulnerability, check if pandas-ai version 3.0.0 is installed and verify if the CodeExecutor.execute function in pandasai/core/code_execution/code_executor.py is present without sandboxing. Look for unexpected file creations or system commands in logs, such as files named /tmp/pandasai_rce_proof.txt.

Impact Analysis

An attacker could exploit this to run malicious commands on your system. This includes creating, reading, modifying, or deleting files, executing system commands, accessing sensitive data, or exfiltrating information over the network. The impact depends on the system's permissions and configuration.

Compliance Impact

This vulnerability could lead to data breaches, unauthorized access, or data exfiltration, violating GDPR and HIPAA requirements for data protection and confidentiality. Organizations using this software may face compliance violations, legal penalties, and reputational damage.

Mitigation Strategies

Immediately upgrade pandas-ai to a patched version if available. If not, disable or remove pandas-ai 3.0.0. Enable sandboxing for the CodeExecutor.execute function if possible. Monitor system logs for suspicious activity and restrict access to the application.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-51898. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart