Incident report
Database Retrieval Chain Arbitrary Code Execution on Unsanitized Field Eval
Public CVE advisory documenting arbitrary code execution when retrieved database row values were evaluated dynamically inside an experimental SQL chain.
Incident record
- Reported
- Severity
- High
- Vector
- Tool/MCP Abuse
- Affected system type
- Database-Backed LLM Retrieval Chains
- Reference
CVE-2024-21513- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-21513
Defensive lesson
Treat retrieved database fields as untrusted data, prohibit dynamic expression evaluation on retrieved strings, and audit chain sinks for eval/exec calls.
Referenced techniques
- LLM Prompt Injection: Indirect AML.T0051.001
- AI Agent Tool Invocation AML.T0053