Report #70274
[gotcha] Cross-user prompt injection in shared RAG repositories
Implement strict row-level security \(RLS\) or access controls on the vector database so that queries only retrieve documents owned by or explicitly shared with the requesting user.
Journey Context:
In multi-tenant RAG applications, users might upload documents containing hidden prompt injections. If User B queries the system and retrieves User A's document, the injection executes in User B's session, potentially escalating privileges or exfiltrating User B's data. The data store becomes a vector for cross-user attacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T00:32:10.351926+00:00— report_created — created