Incident report

RAG Engine Text-to-SQL Execution Component SQL Injection

Public CVE advisory documenting SQL injection in an open-source RAG engine's automated query-execution component where model-extracted SQL fragments ran without parameterized binding.

Incident record

Reported
Severity
High
Vector
Tool/MCP Abuse
Affected system type
Open-Source RAG & Database Query Assistants
Reference
CVE-2025-27135
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-27135

Inspect in Interactive Incidents Hub

Defensive lesson

Execute model-generated database queries exclusively against read-only least-privilege credentials using AST-validated SELECT allowlists and strict query timeouts.

Referenced techniques