GitHub Advisoryadvisory · PyPI

GHSA-mwxm-35f8-6vg2 Vanna vulnerable to SQL Injection

HIGH Published 2024-07-05 Modified 2025-10-15 Official page ↗
Aliases
CVE-2024-5753
Ecosystem
PyPI
Packages
vanna
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-200, CWE-89
Reviewed
2024-07-08

Affected packages

• PyPI vanna: <= 0.3.4 (no fix yet)

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.

Related

Alias · CVE (1)

  • 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()`. vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References