Skip to main content

Pandasai CVE-2026-4996

| EUVDEUVD-2026-16921 MEDIUM
SQL Injection (CWE-89)
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 Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents significant real-world risk despite moderate CVSS 7.3 scoring. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates network-accessible exploitation with low complexity and no authentication required, representing a critical attack surface. Publicly available exploit code exists (E:P in temporal metrics), substantially lowering the barrier to exploitation. However, no confirmation of active exploitation exists (not present in CISA KEV). The impact spans confidentiality, integrity, and availability (C:L/I:L/A:L), enabling attackers to read sensitive AI training data, modify question-answer pairs, delete documents, or potentially escalate to broader database compromise. The vendor's non-responsiveness (RL:X indicates no official fix timeline) significantly elevates risk, as organizations cannot rely on timely patches. The attack targets an AI infrastructure component handling potentially sensitive enterprise data, and the unauthenticated remote vector makes this exploitable from the internet. Given the availability of working exploit code, low attack complexity, and vendor silence, this should be prioritized for immediate mitigation despite the medium CVSS score.

Exploit ScenarioDerived

An unauthenticated remote attacker identifies a PandasAI installation with the lancedb extension exposed to the internet. Using the publicly available exploit code from GitHub, the attacker crafts malicious SQL payloads targeting the get_relevant_question_answers_by_id function, injecting UNION-based queries to extract sensitive AI training data, proprietary question-answer pairs, or database credentials. The attacker then escalates by using update_question_answer to modify AI responses, poisoning the model's output to serve malicious content to end users, or leverages delete_docs to sabotage the knowledge base. With low attack complexity and no authentication barriers, automated scanning tools could systematically exploit vulnerable instances at scale.

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

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

Alert me

AnalysisAIv1 – Mar 28, 2026

SQL injection in Sinaptik AI PandasAI versions up to 0.1.4 allows unauthenticated remote attackers to manipulate database operations through the pandasai-lancedb extension. Six functions (delete_question_and_answers, delete_docs, update_question_answer, update_docs, get_relevant_question_answers_by_id, get_relevant_docs_by_id) in lancedb.py are vulnerable to SQL injection attacks. Publicly available exploit code exists (CVSS 7.3, EPSS data not provided). The vendor has not responded to disclosure attempts.

RemediationAI

No vendor-released patch identified at time of analysis. The vendor was contacted early about this disclosure but has not responded or provided an official fix. Organizations should immediately implement the following mitigations: First, disable or remove the pandasai-lancedb extension if not operationally critical. Second, implement network-level access controls to restrict access to PandasAI installations to trusted IP ranges only, blocking unauthenticated internet access. Third, deploy web application firewall (WAF) rules to detect and block SQL injection attempts targeting the affected endpoints. Fourth, implement input validation and parameterized queries at the application layer if source code modification is feasible. Fifth, monitor database logs for suspicious query patterns targeting question-answer or document management functions. Sixth, consider replacing the vulnerable LanceDB integration with alternative vector store implementations until an official patch is released. For detailed vulnerability information and exploit proof-of-concept, refer to https://vuldb.com/?id.353883 and https://gist.github.com/YLChen-007/e33f76941234bed3824181ed252bd09f. Organizations should establish monitoring for vendor security announcements and upgrade immediately when patches become available.

Affected VersionsENISA

PandasAI 0.1.1
PandasAI 0.1.0
PandasAI 0.1.3
PandasAI 0.1.4
PandasAI 0.1.2

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

This vulnerability affects the pandasai-lancedb extension (cpe:2.3:a:sinaptik_ai:pandasai), specifically the LanceDB vector store integration used for semantic search and document retrieval in PandasAI's enterprise edition. The affected functions in extensions/ee/vectorstores/lancedb/pandasai_lancedb/lancedb.py perform database operations for managing question-answer pairs and document embeddings. The root cause is CWE-89 (SQL Injection), indicating insufficient input validation or parameterization when constructing SQL queries. Multiple CRUD operations (create, read, update, delete) across both Q&A and document management surfaces are vulnerable, suggesting systemic failure to sanitize user-controlled input before incorporating it into SQL statements. LanceDB is a vector database commonly used for AI/ML applications, and this integration layer appears to lack proper SQL parameterization or prepared statement usage.

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 - 11:30 nvd
MEDIUM 6.9

DescriptionCVE.org

A vulnerability was identified in Sinaptik AI PandasAI up to 0.1.4. Affected by this issue is the function delete_question_and_answers/delete_docs/update_question_answer/update_docs/get_relevant_question_answers_by_id/get_relevant_docs_by_id of the file extensions/ee/vectorstores/lancedb/pandasai_lancedb/lancedb.py of the component pandasai-lancedb Extension. Such manipulation leads to sql injection. The attack can be launched remotely. The exploit is publicly available and might be used. 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 0.1.4 contain unauthenticated SQL injection vulnerabilities in database query functions that allow remote attackers to manipulate or exfiltrate data without authentication. Organizations using this library for data analysis workflows face immediate risk of unauthorized database access and potential data compromise, particularly in production environments processing sensitive information.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable pandasai-lancedb extension if functionally possible; (2) restrict network access to PandasAI instances using firewall rules or VPC isolation; (3) implement database activity monitoring (DAM) to detect SQL injection patterns; (4) apply Web Application Firewall (WAF) rules to block common SQL injection payloads if PandasAI is exposed via HTTP; (5) enforce principle of least privilege on database service accounts used by PandasAI; (6) consider containerization with restricted outbound network policies.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% 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.0%
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
Yes
Human Impact
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

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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