Anonymous users may reach customer documents
attack path
- ANON
- PUBLIC RPC
- SECURITY DEFINER
- CUSTOMER_DOCUMENTS
- affected
- 18,291 potential records
- evidence
- public.get_customer_document(uuid)
- reason
- Function executes with elevated database privileges and does not enforce tenant ownership before returning the requested object.