CVE-2024-5753Published Jul 5, 2024 · Jul 5Updated Jun 17
Local File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vanna
vanna-ai/vanna
High7.5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| vanna-ai vanna-ai/vanna |
| No fix yet |
Original description
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.
From the CVE record · @huntr_ai