Arbitrary File Write by Prompt Injection via DuckDB SQL in vanna-ai/vanna
65Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 9.8epss 3.4%
from disclosure to weapon
Published on NVDJun 28
VulnCheck+160d
exploitation probability
3.4%top 12% of all CVEs
observed exploitation
yesVulnCheck
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
vanna-ai · vanna-ai/vanna