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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.
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
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 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-16924
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB