Invia #784459: MAC-SQL The latest version SQL Injectioninformazioni

TitoloMAC-SQL The latest version SQL Injection
DescrizioneMAC-SQL is a multi-agent collaborative Text-to-SQL framework that utilizes large language models (LLMs) to convert natural language queries into SQL statements. The system processes user input through three agents (Selector, Decomposer, and Refiner) and executes the generated SQL against SQLite databases without proper validation or sanitization. The vulnerability exists in the complete trust chain between user input, LLM output, and SQL execution. Malicious users can exploit this through prompt injection attacks, manipulating the LLM to generate arbitrary SQL statements that are then executed directly on the database server. The core issue is located in the Refiner agent's _execute_sql method (core/agents.py:672-698), which executes LLM-generated SQL without any filtering: While a 120-second timeout is implemented, it is totally enough for crashing the server
Fonte⚠️ https://github.com/Ka7arotto/cve/blob/main/MAC-SQL/issue.md
Utente
 Goku (UID 80486)
Sottomissione21/03/2026 02:38 (5 mesi fa)
Moderazione04/04/2026 23:50 (15 days later)
StatoAccettato
Voce VulDB355386 [wbbeyourself MAC-SQL fino a 31a9df5e0d520be4769be57a4b9022e5e34a14f4 Refiner Agent core/agents.py _execute_sql iniezione SQL]
Punti20

Do you want to use VulDB in your project?

Use the official API to access entries easily!