{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-07-02T04:42:04.141","vulnerabilities":[{"cve":{"id":"CVE-2024-5826","sourceIdentifier":"security@huntr.dev","published":"2024-06-27T19:15:17.350","lastModified":"2026-06-17T08:16:43.470","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"In the latest version of vanna-ai/vanna, the `vanna.ask` function is vulnerable to remote code execution due to prompt injection. The root cause is the lack of a sandbox when executing LLM-generated code, allowing an attacker to manipulate the code executed by the `exec` function in `src/vanna/base/base.py`. This vulnerability can be exploited by an attacker to achieve remote code execution on the app backend server, potentially gaining full control of the server."},{"lang":"es","value":"En la última versión de vanna-ai/vanna, la función `vanna.ask` es vulnerable a la ejecución remota de código debido a la inyección rápida. La causa principal es la falta de una zona de pruebas al ejecutar código generado por LLM, lo que permite a un atacante manipular el código ejecutado por la función `exec` en `src/vanna/base/base.py`. Un atacante puede aprovechar esta vulnerabilidad para lograr la ejecución remota de código en el servidor backend de la aplicación, obteniendo potencialmente el control total del servidor."}],"affected":[{"source":"security@huntr.dev","affectedData":[{"vendor":"vanna-ai","product":"vanna-ai/vanna","versions":[{"version":"unspecified","lessThanOrEqual":"latest","versionType":"custom","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"vanna-ai","product":"vanna","defaultStatus":"unknown","cpes":["cpe:2.3:a:vanna-ai:vanna:-:*:*:*:*:*:*:*"],"versions":[{"version":"0","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"security@huntr.dev","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-06-28T15:19:12.368194Z","id":"CVE-2024-5826","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@huntr.dev","type":"Secondary","description":[{"lang":"en","value":"CWE-94"}]}],"references":[{"url":"https://huntr.com/bounties/90620087-44ac-4e43-b659-3c5d30889369","source":"security@huntr.dev"},{"url":"https://huntr.com/bounties/90620087-44ac-4e43-b659-3c5d30889369","source":"af854a3a-2127-422b-91ae-364da2661108"}]}}]}