CVE-2024-7764
HighSummary
Vanna-ai w wersji 0.6.2 jest podatna na atak typu SQL Injection z powodu niewystarczającej ochrony przed wstrzykiwaniem dodatkowych poleceń SQL z żądań użytkowników. Podatność występuje, gdy funkcja `generate_sql` wywołuje `extract_sql` z odpowiedzią LLM.
Risk Assessment
Atakujący może wstrzyknąć własne polecenia SQL, co pozwala na wykonanie nieautoryzowanych operacji na bazie danych, co może prowadzić do ujawnienia danych lub ich modyfikacji.
Recommendation
Zaleca się aktualizację do najnowszej wersji Vanna-ai oraz wdrożenie dodatkowych mechanizmów walidacji i sanitizacji danych wejściowych, aby zapobiec wstrzykiwaniu SQL.
Related vulnerabilities
- CVE-2026-103041Critical
LightLLM through 1.2.0 multimodal deployments expose an unauthenticated RPyC cache service with pickle deserialization enabled on all interfaces. Attackers can send crafted serialized objects to exposed cache methods to execute arbitrary code with service privileges.
- CVE-2026-103040Critical
LightLLM through 1.2.0 contains a remote code execution vulnerability in the router profiler service when started with --enable_profiling flag. The service exposes an unauthenticated RPyC server with pickle deserialization enabled, allowing attackers to execute arbitrary code by sending crafted serialized objects to the profiler command queue.
- CVE-2026-102792Critical
A vulnerability was detected in Ziroom ZHOME A0101 1.0.1.0. This affects the function set_syslog of the file /api/ZRnetwork/set_syslog. The manipulation of the argument conloglevel/log_size results in command injection. The attack may be performed from remote. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
- CVE-2026-72510Critical
The "supplier_no" parameter used in the business allocation search feature is vulnerable to time-based blind SQL injection.
- CVE-2026-72507Critical
The "reportType" parameter in the product summary report feature within the balancing reports section is susceptible to a time-based blind SQL injection vulnerability.
- CVE-2026-71379Critical
The file export endpoint allows any unauthenticated attacker to export arbitrary database tables by sending a crafted POST request.
- CVE-2026-70356Critical
The TMS file upload endpoint fails to enforce server-side file type restrictions, allowing an attacker to upload and execute arbitrary PHP files on the web server.
- CVE-2026-68954Critical
The "pattern" parameter used in search function in the home page of the TMS application is vulnerable to time-based blind SQL injection vulnerability.
- CVE-2026-68068Critical
The "screenID" parameter in the electronic transaction queue viewer feature within the manual transactions section is susceptible to a time-based blind SQL injection vulnerability.
- CVE-2026-63713Critical
The "search" parameter in the view audit logs feature within the utilities section is susceptible to a time-based blind SQL injection vulnerability.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

