CVE-2024-5827vanna-ai/vanna
Critical 9.8 No auth needed
Follow: this CVE · vanna-ai · vanna-ai/vanna We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 5.2% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Jun 28, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Vanna v0.3.4 is vulnerable to SQL injection in its DuckDB integration exposed to its Flask Web APIs. Attackers can inject malicious SQL training data and generate corresponding queries to write arbitrary files on the victim's file system, such as backdoor.php with contents `<?php system($_GET[0]); ?>`. This can lead to command execution or the creation of backdoors.
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 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.