SQL Injection in Vanna-Ai Vanna-Ai/vanna
CVE-2024-5827
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.034, 89.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vanna-Ai Vanna-Ai/vanna — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (20142995/nuclei-templates, fkie-cad/nvd-json-data-feeds, opendr-io/causality). These reference the CVE in a list, notes or a scanner and are not exploit code for it.