Skip to main content
VulnerabilityPublished

CVE-2026-4230: vanna · SQL Injection

Affects vannaSource CVE Database V5

0
Compare

Public exploit available · CVSS 5.3 Medium.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
vanna-aivannaAffected
  • =2.0.0
  • =2.0.1
  • =2.0.2
Fixed in–
PyPIvanna-ai/vannapkg:pypi/vanna-ai/vannaOther threatsAffected
  • =2.0.0
  • =2.0.1
  • =2.0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately audit and review all code related to the update_sql function and any other database interaction points for proper input validation and sanitization.
  2. Refactor vulnerable SQL queries to use parameterized statements or ORM-based query methods to prevent injection.
  3. Restrict network access to the vulnerable endpoint by implementing firewall rules, VPNs, or IP whitelisting to limit exposure.
  4. Deploy Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting the affected endpoint.
  5. Monitor database logs and application logs for unusual query patterns or errors indicative of injection attempts.
  6. If possible, isolate the database with least privilege principles, ensuring the application account has minimal permissions.
  7. Engage with the vendor or community to obtain or develop patches and apply them promptly once available.
  8. Consider temporary mitigations such as disabling the vulnerable functionality if it is not critical to operations.
  9. Educate development teams on secure coding practices to prevent similar vulnerabilities in future releases.

Description

A vulnerability has been found in vanna-ai vanna up to 2.0.2. Affected is the function update_sql of the file src/vanna/legacy/flask/__init__.py of the component Endpoint. Such manipulation leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

References

Community reviews

Loading reviews…