Skip to main content

Pandasai CVE-2026-4997

| EUVDEUVD-2026-16924 MEDIUM
Path Traversal (CWE-22)
2026-03-28 VulDB
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Impact

The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P indicates remote network-based attack with low complexity and no privileges required, placing this vulnerability at medium accessibility. The E:P flag (exploit POC published) and R:X (unknown reliability) suggest proof-of-concept code is publicly available but reliability is unconfirmed. The CVSS base score of 5.3 reflects limited impact-only low confidentiality impact (C:L) with no integrity or availability compromise. Notably, absence of the KEV (CISA Known Exploited Vulnerabilities) designation means there is no confirmed active exploitation by threat actors, distinguishing this from higher-priority zero-day scenarios. The combination of public POC availability, unauthenticated remote attack vector, low barriers to exploitation, and lack of confirmed active exploitation suggests a moderate real-world priority: organizations using vulnerable PandasAI versions should remediate but this does not require emergency incident response procedures.

Exploit ScenarioDerived

An unauthenticated remote attacker sends a crafted SQL query or input string containing path traversal sequences (e.g., ../../etc/passwd) to a web application or API endpoint that uses PandasAI's is_sql_query_safe function for validation. Due to insufficient input sanitization, the path traversal payload bypasses the safety check and allows the attacker to read sensitive configuration files, environment variables, or other files outside the intended data directory. The publicly available exploit code (https://gist.github.com/YLChen-007/0ea2685789929bdb6363f5aebb7cba9a) demonstrates the exact manipulation technique, making this vulnerability easy to weaponize against unpatched deployments.

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

Path traversal in Sinaptik AI PandasAI up to version 3.0.0 allows remote unauthenticated attackers to read arbitrary files by manipulating the is_sql_query_safe function in the SQL sanitizer module. The vulnerability has a CVSS score of 5.3 (low-to-medium severity) with public exploit code available, though active exploitation has not been confirmed by CISA. The vendor did not respond to early disclosure notification.

RemediationAI

Upgrade Sinaptik AI PandasAI to a version released after 3.0.0 that includes fixes for the path traversal vulnerability in the is_sql_query_safe function. Until patching is possible, implement input validation and path canonicalization at the application level to reject or sanitize directory traversal sequences (../, .., backslashes) before they reach the is_sql_query_safe function. Apply strict allowlisting of permitted file paths and disable symbolic link following if the application accesses the filesystem. Consult the vendor advisory at https://vuldb.com/vuln/353884 for release notes and timeline. Organizations unable to patch immediately should restrict network access to PandasAI services and monitor for suspicious file access patterns in application logs.

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

The vulnerability resides in pandasai/helpers/sql_sanitizer.py, specifically in the is_sql_query_safe function which is responsible for validating and sanitizing SQL queries. The root cause is a path traversal flaw (CWE-22) in the input validation logic, where user-supplied input is not properly canonicalized or filtered before being used to access files or construct file paths. This allows attackers to use directory traversal sequences (e.g., ../) to escape intended directory boundaries and access files outside the restricted scope. The vulnerability affects all versions of Sinaptik AI PandasAI up to and including 3.0.0, as identified by the CPE cpe:2.3:a:sinaptik_ai:pandasai:*:*:*:*:*:*:*:*.

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:N/VA:N/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
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
PoC Detected
Mar 30, 2026 - 13:26 vuln.today
Public exploit code
CVE Published
Mar 28, 2026 - 12:23 nvd
MEDIUM 5.5

DescriptionCVE.org

A security flaw has been discovered in Sinaptik AI PandasAI up to 3.0.0. This affects the function is_sql_query_safe of the file pandasai/helpers/sql_sanitizer.py. Performing a manipulation results in path traversal. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Executive ViewAI

Why It Matters

Organizations using Sinaptik AI PandasAI should be aware of moderate risk from CVE-2026-4997, a path traversal vulnerability rated CVSS 5.5. This could allow unauthorized file access. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% 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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Low
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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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