Vanna vulnerable to SQL Injection
High severity
GitHub Reviewed
Published
Jul 5, 2024
to the GitHub Advisory Database
•
Updated Aug 7, 2024
Description
Published by the National Vulnerability Database
Jul 5, 2024
Published to the GitHub Advisory Database
Jul 5, 2024
Reviewed
Jul 8, 2024
Last updated
Aug 7, 2024
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.References