Read the docs
TI-2024-05403 Aliases CVE-2024-5827GHSA-c89v-fg7j-r5qj

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

Priority HIGH 82CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.03424 88th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vanna-aivanna-ai/vannaup to latest—No fix listedCNA
  • vanna-ai/vanna Vendorvanna-ai Affected up to latest Fixed in — No fix listed CNA

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:vanna-ai:vanna:0.3.4:*:*:*:*:*:*:*0.3.4——
  • cpe:2.3:a:vanna-ai:vanna:0.3.4:*:*:*:*:*:*:* Versions 0.3.4 — ·—

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-5827
  2. 2026-10-03 Alias added: GHSA-c89v-fg7j-r5qj

References

  • TI-2026-46836 Vanna 2.0.2 Path Traversal via FileSystemConversationStore CVSS 4.0HIGH 8.8
  • TI-2024-05402 Remote Code Execution via Prompt Injection in vanna-ai/vanna CVSS 3.0CRITICAL 9.8
  • TI-2024-07510 Server-Side Request Forgery (SSRF) in vanna-ai/vanna CVSS 3.0HIGH 8.3
  • TI-2024-07469 Local File Read (LFI) by Prompt Injection via SnowFlake SQL in vanna-ai/vanna CVSS 3.0HIGH 7.5
  • TI-2024-05342 Local File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vanna CVSS 3.0HIGH 7.5
  • TI-2026-06105 vanna-ai vanna Legacy Flask API improper authorization CVSS 4.0MEDIUM 6.9
See all 15 →

Sources