UNKNOWNCVE-2026-4997

Sinaptik AI PandasAI sql_sanitizer.py is_sql_query_safe path traversal

Platform

python

Component

pandasai

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.

How to fix

Actualice la biblioteca PandasAI a una versión posterior a la 3.0. Dado que no hay una versión fija disponible, se recomienda monitorear el proyecto para futuras actualizaciones que aborden esta vulnerabilidad de path traversal. Alternativamente, revise y valide cuidadosamente las consultas SQL antes de pasarlas a la función is_sql_query_safe.

Monitor your dependencies automatically

Get notified when new vulnerabilities affect your projects. Free forever.

Start free
CVE-2026-4997 — Vulnerability Details | NextGuard | NextGuard