CVE-2024-8055

Local File Read (LFI) by Prompt Injection via SnowFlake SQL in vanna-ai/vanna

State
Published
Severity
7.5 High
Published
Mar 20, 2025
Updated
Oct 15, 2025
Reserved
Aug 21, 2024

Read the record on cve.org

Description

Vanna v0.6.3 is vulnerable to SQL injection via Snowflake database in its file staging operations using the `PUT` and `COPY` commands. This vulnerability allows unauthenticated remote users to read arbitrary local files on the victim server, such as `/etc/passwd`, by exploiting the exposed SQL queries through a Python Flask API.

Scores

CVSSScoreVectorSource
3.07.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N@huntr_ai

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

Affected Products

ProductVersions
vanna-ai/vannavanna-ai
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.