{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5753","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-06-07T16:34:29.184Z","datePublished":"2024-07-05T19:27:22.046Z","dateUpdated":"2025-10-15T12:50:29.242Z"},"containers":{"cna":{"title":"Local File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vanna","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2025-10-15T12:50:29.242Z"},"descriptions":[{"lang":"en","value":"vanna-ai/vanna version v0.3.4 is vulnerable to SQL injection in some file-critical functions such as `pg_read_file()`. This vulnerability allows unauthenticated remote users to read arbitrary local files on the victim server, including sensitive files like `/etc/passwd`, by exploiting the exposed SQL queries via a Python Flask API."}],"affected":[{"vendor":"vanna-ai","product":"vanna-ai/vanna","versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}]}],"references":[{"url":"https://huntr.com/bounties/a3f913d6-c717-4528-b974-26d8d9e839ca"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command","cweId":"CWE-89"}]}],"source":{"advisory":"a3f913d6-c717-4528-b974-26d8d9e839ca","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"vanna-ai","product":"vanna","cpes":["cpe:2.3:a:vanna-ai:vanna:0.3.4:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0.3.4","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-08T14:07:30.894942Z","id":"CVE-2024-5753","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-08T14:08:04.816Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T21:18:07.118Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/a3f913d6-c717-4528-b974-26d8d9e839ca","tags":["x_transferred"]}]}]}}