Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-4997— Sinaptik AI PandasAI sql_sanitizer.py is_sql_query_safe path traversal

Quick assessment

Affected
Sinaptik AI PandasAI
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PandasAI是一个 Python 库,它将生成人工智能功能集成到 pandas 中,使数据框成为对话式。 PandasAI 3.0.0及之前版本存在路径遍历漏洞,该漏洞源于对函数is_sql_query_safe的错误操作,可能导致路径遍历。

CVSS 5.3 · Medium EPSS 0.77% · P55

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-4997

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Sinaptik AI PandasAI sql_sanitizer.py is_sql_query_safe path traversal
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
PandasAI 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PandasAI是一个 Python 库,它将生成人工智能功能集成到 pandas 中,使数据框成为对话式。 PandasAI 3.0.0及之前版本存在路径遍历漏洞,该漏洞源于对函数is_sql_query_safe的错误操作,可能导致路径遍历。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Sinaptik AI PandasAI 3.0 -

II. Public POCs for CVE-2026-4997

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-4997

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-4997 (2)

Proof of Concept for CVE-2026-4997 (1)

Same Patch Batch · Sinaptik AI · 2026-03-28 · 3 CVEs total

CVE-2026-4996 7.3 HIGH Sinaptik AI PandasAI pandasai-lancedb Extension lancedb.py get_relevant_docs_by_id sql inj
CVE-2026-4998 7.3 HIGH Sinaptik AI PandasAI Chat Message code_executor.py CodeExecutor.execute code injection

IV. Related Vulnerabilities

V. Comments for CVE-2026-4997

No comments yet


Leave a comment