{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-7764","published":"2025-03-20T10:15:36.717000Z","last_modified":"2026-06-17T08:20:52.620000Z","status":"Deferred","cvss":{"version":"3.0","score":8.1,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"security@huntr.dev","primary":false},"auth":true,"cwes":["CWE-89"],"cpes":[],"cpes_truncated":false,"vendors":["vanna-ai"],"products":["vanna-ai/vanna-ai-vanna"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.00876,"percentile":0.56773,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":49,"links":{"html_es":"/es/cve/CVE-2024-7764/","html_en":"/en/cve/CVE-2024-7764/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-7764","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-7764"},"untrusted":{"vendor_name":"vanna-ai","product_name":"vanna-ai/vanna","desc_en":"Vanna-ai v0.6.2 is vulnerable to SQL Injection due to insufficient protection against injecting additional SQL commands from user requests. The vulnerability occurs when the `generate_sql` function calls `extract_sql` with the LLM response. An attacker can include a semi-colon between a search data field and their own command, causing the `extract_sql` function to remove all LLM generated SQL and execute the attacker's command if it passes the `is_sql_valid` function. This allows the execution of user-defined SQL beyond the expected boundaries, notably the trained schema.","affected":[{"untrusted_vendor":"vanna-ai","untrusted_product":"vanna-ai/vanna","versions":[]}],"references":[{"url":"https://huntr.com/bounties/85d403b1-fbed-42e9-9ec1-2f79abf6eb0f","tags":[]}]}}