VannaGHSA-mwxm-35f8-6vg2
Vanna vulnerable to SQL Injection
High7.5CVE-2024-5753 · Published Jul 5, 2024 · updated Jul 7, 2026
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| vanna PyPI | <= 0.3.4 | No fix yet |
Details and references
More Vanna advisories
All Vanna| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 16 | Vanna has a SQL injection in the remove_training_data function | Medium7.3 | No fix yet |
| Jun 272024 | vanna vulnerable to remote code execution caused by prompt injection | Critical9.8 | No fix yet |
| May 312024 | Vanna prompt injection code execution | Critical8.1 | No fix yet |