CVE-2026-6977 Details
Description
A security vulnerability has been detected in vanna-ai vanna up to 2.0.2. The affected element is an unknown function of the component Legacy Flask API. The manipulation leads to improper authorization. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A critical vulnerability has been identified in Vanna AI's Vanna application, specifically in versions through 2.0.2. The issue arises from the Legacy Flask API, which defaults to an authentication method that allows all requests without credentials. This flaw exposes over 20 API endpoints, including those for SQL execution, SQL injection, training data management, and function management, to unauthorized remote access. The vulnerability exists because the API's authentication backend, NoAuth(), fails to properly validate user credentials, leaving sensitive functionalities open to exploitation.
It is recommended to change the default authentication setting in the VannaFlaskApp to require explicit authentication. If this is not possible, a warning should be logged to alert users that the application is running with no authentication, which is unsafe for production.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 25, 2026CISA-ADP
Assessed Apr 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yidaozhongqing/York/issues/2 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://vuldb.com/submit/795331 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/359520 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/359520/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
| CWE-285 | Improper Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vanna-ai vanna | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 25, 2026 | New CVE Received | [email protected] |
Volerion