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

High 7.5 Published Updated

Attackers can read arbitrary local files on the server via SQL injection in Snowflake operations, exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-8055?

CVE-2024-8055 is a high-severity SQL injection vulnerability in vanna-ai/vanna, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-89

Which versions are affected by CVE-2024-8055?

How do I fix CVE-2024-8055?

No fix has been published for CVE-2024-8055 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-8055 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8055 exists.

Sources

Also known as GHSA-63gf-x2fr-8r32.

Is CVE-2024-8055 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free