Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · Vanna

CVE-2024-5753: Vanna vulnerable to SQL Injection

highCVSS 4.0 8.7 · 3.0 7.5GHSA-mwxm-35f8-6vg2

vanna-ai/vanna version v0.3.4 is vulnerable to SQL injection in some file-critical functions such as pgreadfile(). 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.

Published Jul 5, 2024 · Updated Oct 15, 2025

Affected packages

vanna

Ecosystem
PyPI
Affected
<= 0.3.4
Fixed in
No patched version yet
Check
pip show vanna

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Vanna vulnerabilities

All Vanna entries