Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. vanna
  4. ›
  5. CVE-2024-5753

CVE-2024-5753: Vanna vulnerable to SQL Injection

July 5, 2024 (updated October 15, 2025)

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

  • github.com/advisories/GHSA-mwxm-35f8-6vg2
  • github.com/vanna-ai/vanna
  • huntr.com/bounties/a3f913d6-c717-4528-b974-26d8d9e839ca
  • nvd.nist.gov/vuln/detail/CVE-2024-5753

Code Behaviors & Features

Detect and mitigate CVE-2024-5753 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.3.4

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/vanna/CVE-2024-5753.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:09 +0000.