CVE-2024-5753
published high CVSS 3.0 · 7.5Local File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vanna
Package status and fixes
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 advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vanna-ai | vanna-ai/vanna | unspecified through latest (affected · custom) | @huntr_ai · cna |
| vanna-ai | vanna | 0.3.4 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
1Provider assertions
3@huntr_ai · cna
Local File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vanna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cc8c8c212690afe15281a75e2f0d26474982239b58333843b3c6471e1c975859
- Ingested
- 23 Sep 2026, 08:32:47 UTC
- Source record
- Official CVE record