Incident report
Graph QA Chain Prompt Injection Escalating to Arbitrary Database Queries
Public CVE advisory detailing prompt-induced injection in a graph QA chain where untrusted natural-language inputs generated unvalidated database queries.
Incident record
- Reported
- Severity
- Medium
- Vector
- Indirect Prompt Injection
- Affected system type
- Natural-Language-to-Graph/SQL QA Agents
- Reference
CVE-2024-8309- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-8309
Defensive lesson
Disable write/schema-mutation clauses at the database driver level and enforce deterministic query-template validation before passing LLM output to graph/SQL engines.
Referenced techniques
- LLM Prompt Injection AML.T0051
- AI Agent Tool Invocation AML.T0053