Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Real-world risk is elevated and warrants immediate attention. CVSS 7.3 reflects High severity with critical attack characteristics: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), and no user interaction (UI:N). The temporal metric E:P confirms Proof-of-concept exploit code exists. While EPSS probability is not provided, the combination of unauthenticated remote attack surface and public exploit (GitHub Gist by YLChen-007) significantly increases exploitation likelihood. The CVSS scope is unchanged (S:U), but confidentiality, integrity, and availability all suffer Low impact (C:L/I:L/A:L), meaning attackers gain partial system access across CIA triad. Using SSVC framework: exploitation is Public (POC available), likely automatable given the injection vector and remote nature, with technical impact of at least partial control over the Python runtime environment. Vendor non-responsiveness (RL:X - Official Fix/Remediation Level not confirmed) compounds risk, as organizations cannot rely on timely vendor patches. This is a high-priority vulnerability for any deployment using PandasAI in network-accessible contexts, particularly where untrusted users can submit chat queries. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies a PandasAI-powered web application that accepts natural language queries for data analysis. Using the publicly available exploit code from https://gist.github.com/YLChen-007/78ed1dbcccdb8895adb230dddde3316d, the attacker crafts a malicious chat message containing Python code injection payloads (e.g., importing os module and executing system commands). When the application processes this message via CodeExecutor.execute without proper sanitization, the injected code executes with the privileges of the PandasAI process, potentially allowing the attacker to read sensitive DataFrame data, modify analysis results, establish persistence, or pivot to underlying infrastructure. Low attack complexity and zero authentication requirements make this exploitable by moderately skilled attackers with network access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 28, 2026
Code injection in Sinaptik AI PandasAI versions up to 3.0.0 allows unauthenticated remote attackers to execute arbitrary code via the CodeExecutor.execute function in the Chat Message Handler component. CVSS 7.3 (High) with network attack vector, low complexity, and no authentication required. Publicly available exploit code exists (POC on GitHub Gist). EPSS data not provided, but the combination of unauthenticated remote execution and public exploit significantly elevates real-world risk. Vendor non-responsive to coordinated disclosure.
RemediationAI
No vendor-released patch identified at time of analysis. The vendor was contacted during coordinated disclosure but did not respond, and remediation level is listed as X (unconfirmed) in CVSS temporal metrics. Organizations using PandasAI up to version 3.0.0 should immediately implement workarounds: (1) isolate PandasAI deployments from untrusted network access using network segmentation or authentication layers; (2) implement strict input validation and sanitization for all chat message inputs before passing to CodeExecutor.execute, employing allowlists for permitted operations; (3) run PandasAI processes with minimal privileges in sandboxed environments (containers, VMs) to limit blast radius of successful code injection; (4) monitor PandasAI GitHub repository (https://github.com/Sinaptik-AI/pandas-ai) for community patches or forks addressing CVE-2026-4998. For detailed vulnerability intelligence, consult VulDB CTI report at https://vuldb.com/vuln/353885/cti. Consider migrating to alternative data analysis frameworks if vendor remains non-responsive or if mission-critical deployments cannot tolerate the risk of unpatched code injection vulnerabilities.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PandasAI is a Python library that enables conversational interaction with pandas DataFrames using natural language. The vulnerability resides in the CodeExecutor.execute function within pandasai/core/code_execution/code_executor.py, which processes chat messages. CWE-94 (Improper Control of Generation of Code / Code Injection) indicates the application fails to properly sanitize or validate user-supplied input before passing it to a code execution engine. This allows attackers to inject and execute arbitrary Python code within the application's runtime context. The Chat Message Handler component likely accepts user input (natural language queries) and dynamically generates Python code for execution against DataFrames, creating a classic injection surface when input validation is insufficient. The CPE cpe:2.3:a:sinaptik_ai:pandasai identifies all versions up to and including 3.0.0 as affected.
Know when Pandasai gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in Sinaptik AI PandasAI up to 3.0.0. This vulnerability affects the function CodeExecutor.execute of the file pandasai/core/code_execution/code_executor.py of the component Chat Message Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Executive ViewAI
Sinaptik AI PandasAI versions up to 3.0.0 contain a code injection vulnerability in the Chat Message Handler that allows unauthenticated attackers to execute arbitrary code remotely, with publicly available exploit code already circulating. Organizations using PandasAI for data analysis or chatbot functionality face immediate risk of full system compromise, data theft, and lateral network movement without any vendor patch available.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict network access to the CodeExecutor and Chat Message Handler endpoints via firewall rules or reverse proxy; (2) Run PandasAI in an isolated container or VM with minimal filesystem and network permissions; (3) Implement strict input validation and sanitization on all user-supplied data before passing to CodeExecutor; (4) Monitor for suspicious process creation and network connections originating from PandasAI services; (5) Consider temporary air-gapping of PandasAI instances until vendor guidance or migration path is established.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in Sinaptik AI PandasAI Code Execution and Injection
View all 3GenerateSDFPipeline in synthetic_dataframe in PandasAI (aka pandas-ai) through 1.5.17 allows attackers to trigger the ge
An issue in Gaberiele Venturi pandasai v.0.8.0 and before allows a remote attacker to execute arbitrary code via a craft
An issue in pandas-ai v.0.9.1 and before allows a remote attacker to execute arbitrary code via the _is_jailbreak functi
EUVD-2026-16925
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB