Broad queries return other tenants' documents from the vector index
The tenant filter was applied in the prompt template, not in the vector database query. Broad questions retrieved chunks from other customers, and the model quoted them.
- Reproduction
- Log in as test tenant A.
- Send probe ███ from the broad-query set.
- Check retrieved chunks for tenant B's canary.
- Impact
- Any customer could read fragments of other customers' private documents. No alert fired during the test.
- Mapped to
- Control
- Tenant ID is a mandatory filter in the database API, with a deny-by-default test in CI and a SIEM rule for cross-tenant hits.
- Retest
- No canaries retrieved across 2,000 probes. The new SIEM rule fired on a planted test event.