CVE-2024-5753vanna-ai/vanna
High 7.5 No auth needed
Follow: this CVE · vanna-ai · vanna-ai/vanna We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Jul 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for vanna-ai/vanna.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | vanna |
≤ 0.3.4 |
no fixed version | — |
| PyPI | vanna |
≤ 0.3.4 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-mwxm-35f8-6vg2, PYSEC-2026-2002). Check the version in your lockfile before upgrading.
Affected products
- vanna-ai · vanna-ai/vanna
- vanna-ai · vanna
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.