CVE-2024-5827criticalobserved exploitationCWE-89

CVE-2024-5827: critical vulnerability in vanna-ai/vanna

Arbitrary File Write by Prompt Injection via DuckDB SQL in vanna-ai/vanna

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

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
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