Skip to main content
ExploitedNot in CISA KEV yet

CVE-2024-5827

Exploitation confirmed. First attested on 2024-12-05 by GCVE · kevintel, GCVE · shadowserver.

  • Published2024-06-28
  • WeaknessCWE-89

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-06-2820:15CVE publishedNVD
  2. 2024-12-0506:27Listed as exploited by GCVEGCVE
  3. 2024-12-0506:27Exploitation first reportedGCVE

Versions per branch

CISA-ADP
Vanna-ai vanna
BranchAffectedFixed in
0.3= 0.3.4no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As @huntr_ai, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • vanna-ai/vanna
    Affected
    • ≤ latestno fix statedcustom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-06-28

Fix

No fix published by the sources we read yet. NVD record

Detection

read 2026-11-20 11:10 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2024-06-28
Last Modified
2026-06-17
NVD status
Deferred
GitHub Advisory
GHSA-c89v-fg7j-r5qj

Frequently asked questions

What is 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.

Is CVE-2024-5827 actively exploited?

A proof-of-concept exploit exists for CVE-2024-5827, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-5827?

CVE-2024-5827 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record