CVE-2024-5827

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

Published Jun 28, 2024 CVSS 3.0 · 9.8 Critical EPSS 3.4% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-434
Type Values Removed Values Added
Weaknesses CWE-89
Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Oct 15, 2025, 12:50 PM
Reserved
Jun 10, 2024, 11:46 PM
Status
Deferred
Published
Jun 28, 2024, 8:15 PM
Modified
Jun 17, 2026, 8:16 AM