{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "cveId": "CVE-2024-5827", "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "state": "PUBLISHED", "assignerShortName": "@huntr_ai", "dateReserved": "2024-06-10T23:46:32.719Z", "datePublished": "2024-06-28T19:27:33.049Z", "dateUpdated": "2025-10-15T12:50:30.543Z" }, "containers": { "cna": { "title": "Arbitrary File Write by Prompt Injection via DuckDB SQL in vanna-ai/vanna", "providerMetadata": { "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "shortName": "@huntr_ai", "dateUpdated": "2025-10-15T12:50:30.543Z" }, "descriptions": [ { "lang": "en", "value": "Vanna v0.3.4 is vulnerable to SQL injection in its DuckDB integration exposed to its Flask Web APIs. Attackers can inject malicious SQL training data and generate corresponding queries to write arbitrary files on the victim's file system, such as backdoor.php with contents ``. This can lead to command execution or the creation of backdoors." } ], "affected": [ { "vendor": "vanna-ai", "product": "vanna-ai/vanna", "versions": [ { "version": "unspecified", "status": "affected", "versionType": "custom", "lessThanOrEqual": "latest" } ] } ], "references": [ { "url": "https://huntr.com/bounties/e4e64a51-618b-41d0-8f56-1d2146d8825e" } ], "metrics": [ { "cvssV3_0": { "version": "3.0", "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "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" } } ], "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command", "cweId": "CWE-89" } ] } ], "source": { "advisory": "e4e64a51-618b-41d0-8f56-1d2146d8825e", "discovery": "EXTERNAL" } }, "adp": [ { "affected": [ { "vendor": "vanna-ai", "product": "vanna", "cpes": [ "cpe:2.3:a:vanna-ai:vanna:0.3.4:*:*:*:*:*:*:*" ], "defaultStatus": "affected", "versions": [ { "version": "0.3.4", "status": "affected" } ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2024-07-01T17:39:40.142547Z", "id": "CVE-2024-5827", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-07-01T18:42:39.604Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-01T21:25:02.611Z" }, "title": "CVE Program Container", "references": [ { "url": "https://huntr.com/bounties/e4e64a51-618b-41d0-8f56-1d2146d8825e", "tags": [ "x_transferred" ] } ] } ] } }