What’s Vulnerable › Vulnerabilities
CVE-2024-5753: Local File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vanna
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-05 · updated 2026-06-17
- Weakness: CWE-89
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.
Affected products
- vanna-ai vanna: 0.3.4
References
- https://huntr.com/bounties/a3f913d6-c717-4528-b974-26d8d9e839ca
- https://huntr.com/bounties/a3f913d6-c717-4528-b974-26d8d9e839ca
Get alerted when CVE-2024-5753 or the next vulnerability affects your stack