Cross-site Request Forgery (CSRF) Affecting vanna package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-VANNA-9680143
  • published9 Apr 2025
  • disclosed20 Mar 2025
  • creditpatrik-ha

Introduced: 20 Mar 2025

NewCVE-2024-6841  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

There is no fixed version for vanna.

Overview

vanna is a Generate SQL queries from natural language

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) in the run_sql() function, accessible via the /api/v0/run_sql endpoint. An attacker can alter or delete (but not read) data by sending requests that include SQL commands, when the endpoint is not meant to be exposed.

CVSS Base Scores

version 4.0
version 3.1