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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-28T12:23:10.126Z
- Modified: 2026-06-17T10:57:34.340Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Sinaptik AI PandasAI: 3.0

## Every score

- VulDB: CVSS:4.0 6.9 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`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:UR`

## References

- <https://gist.github.com/YLChen-007/0ea2685789929bdb6363f5aebb7cba9a> (exploit)
- <https://vuldb.com/vuln/353884> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/353884/cti> (permissions-required, signature)
- <https://vuldb.com/submit/778269> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-4997](https://www.cve.org/CVERecord?id=CVE-2026-4997), CVE Terms of Use, modified 2026-03-30
- NVD: [CVE-2026-4997](https://nvd.nist.gov/vuln/detail/CVE-2026-4997), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4997 · Whole record: https://cve.day/CVE-2026-4997.json · Rebuilt by cve.day 2026-11-25T22:59:17.471Z
