Skip to main content

Pandasai EUVDEUVD-2026-16925

| CVE-2026-4998 MEDIUM
Code Injection (CWE-94)
2026-03-28 VulDB
5.5
CVSS 4.0 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PandasAI 3.0

Affected Packages

euvd pandasai no fix

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Mar 30, 2026 - 13:26 vuln.today
Public exploit code
CVE Published
Mar 28, 2026 - 13:15 nvd
MEDIUM 6.9

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 77% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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 3

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy