# CVE-2024-6841: CSRF in vanna-ai/vanna

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2025-03-20T10:10:14.484Z
- Modified: 2026-06-17T08:18:48.930Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

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

(As written by CVE List.)

## Affected

- vanna-ai vanna-ai/vanna: from unspecified up to latest

## References

- <https://huntr.com/bounties/7c6cf388-6399-4e37-99f6-3f052eb1136e>

## Sources

- CVE List: [CVE-2024-6841](https://www.cve.org/CVERecord?id=CVE-2024-6841), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-6841](https://nvd.nist.gov/vuln/detail/CVE-2024-6841), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6841 · Whole record: https://cve.day/CVE-2024-6841.json · Rebuilt by cve.day 2026-11-25T22:58:52.372Z
