CVE-2026-6977 vanna-ai vanna Legacy Flask API improper authorization

Medium 6.9 Published Updated

Attackers can bypass authorization in the Legacy Flask API of the vanna-ai library to access protected resources without proper permissions.

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-2026-6977?

CVE-2026-6977 is a medium-severity missing authorization vulnerability in vanna-ai vanna, published on 25 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-285, CWE-266

Which versions are affected by CVE-2026-6977?

How do I fix CVE-2026-6977?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-6977 being exploited?

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

Sources

Also known as GHSA-jpf3-pmmr-rr7v.

Is CVE-2026-6977 in your software?

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

Check your SBOMs for free