CVE-2024-5753
HIGH 7.5CVSS 3.0Vanna vulnerable to SQL Injection
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.
- Published
- 5 Jul 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-200CWE-89
- Also known as
- GHSA-mwxm-35f8-6vg2PYSEC-2026-2002
- Sources
- NVDJSONOSV GHSA-mwxm-35f8-6vg2JSONOSV PYSEC-2026-2002JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | vanna | <= 0.3.4 |
References
- https://huntr.com/bounties/a3f913d6-c717-4528-b974-26d8d9e839ca · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-5753 · ADVISORY
- https://github.com/vanna-ai/vanna · PACKAGE
- https://pypi.org/project/vanna · PACKAGE
- https://github.com/advisories/GHSA-mwxm-35f8-6vg2 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 5 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jul 2024)