PyPA Advisory Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | vanna | All versions up to and including 0.3.4 |