HIGH7.5
PYSEC-2026-2002
Vanna vulnerable to SQL Injection
Details
vanna-ai/vanna version v0.3.4 is vulnerable to SQL injection in some file-critical functions such as `pg_read_file()`. This vulnerability allows unauthenticated remote users to read arbitrary local files on the victim server, including sensitive files like `/etc/passwd`, by exploiting the exposed SQL queries via a Python Flask API.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/vanna
Introduced in:
0No fixed version published yet for vanna (pip). Pin to a known-safe version or switch to an alternative.