{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-5321 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-5321 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-5321 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-5321 in the wild and no public exploit code.\n\nAffected product: vanna-ai vanna. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-5321/ (Markdown: https://insights.sbomify.com/CVE-2026-5321/index.md)","id":"CVE-2026-5321","markdown":"https://insights.sbomify.com/CVE-2026-5321/index.md","name":"CVE-2026-5321","record":{"aliases":["GHSA-fp27-q2f5-phx3"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"AI data analysis library","requires_auth":"low_privilege","summary":"The vanna-ai library's FastAPI/Flask server uses a permissive cross-domain policy, allowing untrusted domains to bypass security restrictions.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"},{"id":"CWE-346","name":"Origin Validation Error"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"vanna-ai vanna FastAPI/Flask Server cross-domain policy","id":"CVE-2026-5321","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"misconfiguration","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"AlejandroArciniegas mcp-data-vis MCP server.js request sql injection","id":"CVE-2026-5322"},"packages":[],"prev":{"headline":"vanna-ai vanna Chat API Endpoint v2 missing authentication","id":"CVE-2026-5320"},"products":["vanna"],"published":"2026-04-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-02","vendors":["vanna-ai"]},"summary":"The vanna-ai library's FastAPI/Flask server uses a permissive cross-domain policy, allowing untrusted domains to bypass security restrictions.","url":"https://insights.sbomify.com/CVE-2026-5321/"}