SQL Injection in Vanna-Ai Vanna-Ai/vanna

CVE-2024-5753

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.

Vulnerability class: SQL Injection

EPSS: 0.006 (45.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-5753?
CVE-2024-5753 is a high-severity vulnerability in Vanna-Ai Vanna-Ai/vanna, classified under SQL Injection. CVSS score: 7.5/10. Published 2024-07-05.
How severe is CVE-2024-5753?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2024-5753 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.