VYPR
Medium severity6.5NVD Advisory· Published Mar 20, 2025· Updated Apr 15, 2026

CVE-2024-6841

CVE-2024-6841

Description

A Cross-Site Request Forgery (CSRF) vulnerability exists in the latest commit (56b782bcefd2e59b19cd7ba7878b95f54884f502) of the vanna-ai/vanna repository. Two endpoints in the built-in web app that provide SQL functionality are implemented as simple GET requests, making them susceptible to CSRF attacks. This vulnerability allows an attacker to run arbitrary SQL commands via CSRF without the target intending to expose the web app to the network or other users. The impact is limited to data alteration or deletion, as the attacker cannot read the results of the query.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A CSRF vulnerability in vanna-ai/vanna's web app allows attackers to execute arbitrary SQL commands via GET requests, leading to data alteration or deletion.

The vulnerability is a Cross-Site Request Forgery (CSRF) in the vanna-ai/vanna repository's built-in web application. Two endpoints that provide SQL functionality are implemented as simple GET requests, lacking CSRF tokens or other protections. This design flaw makes them susceptible to CSRF attacks [1].

An attacker can craft a malicious web page or link that, when visited by an authenticated user, triggers a GET request to the vulnerable endpoints. The attack does not require the target to intentionally expose the web app to the network; any user with an active session can be targeted. The attacker can execute arbitrary SQL commands on the underlying database [1].

The impact is limited to data alteration or deletion because the attacker cannot read the results of the query. However, this can still lead to significant data integrity issues, such as corruption or loss of critical information. The vulnerability is rated medium severity with a CVSS score of 6.5 [1].

As of the latest commit (56b782bcefd2e59b19cd7ba7878b95f54884f502), no patch has been released. Users are advised to implement CSRF protections, such as anti-CSRF tokens, or restrict access to the web app to trusted networks only [1].

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.