CVE-2026-5321 vanna-ai vanna FastAPI/Flask Server cross-domain policy
The vanna-ai library's FastAPI/Flask server uses a permissive cross-domain policy, allowing untrusted domains to bypass security restrictions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5321?
CVE-2026-5321 is a medium-severity vulnerability in vanna-ai vanna, published on 2 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A flaw has been found in vanna-ai vanna up to 2.0.2. Affected by this issue is some unknown functionality of the component FastAPI/Flask Server. Executing a manipulation can lead to permissive cross-domain policy with untrusted domains. The attack can be launched remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2026-5321?
How do I fix CVE-2026-5321?
No fix has been published for CVE-2026-5321 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-5321 being exploited?
There is no known exploitation of CVE-2026-5321 in the wild and no public exploit code.
Sources
Also known as GHSA-fp27-q2f5-phx3.