CVE-2024-5753 - CVE House
Back to Database
Status published High CVE-2024-5753

Local File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vanna

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-5753

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

vanna-ai/vanna
Vulnerable Versions:
unspecified

Timeline

Official Publish: July 5th, 2024
Last Modified: October 15th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses (CWE)