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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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:*:*:*:*:*:*:*:*.
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.
GenerateSDFPipeline 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
Code injection in Sinaptik AI PandasAI versions up to 3.0.0 allows unauthenticated remote attackers to execute arbitrary
SQL injection in Sinaptik AI PandasAI versions up to 0.1.4 allows unauthenticated remote attackers to manipulate databas
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-16924