IDOR: reading or changing someone else's data in Firebase
criticalUpdated Oct 12, 2026
In rules, compare request.auth.uid to the owner field on the document. request.auth != null only proves the caller is signed in.
Fix for Firebase
In rules, compare request.auth.uid to the owner field on the document. request.auth != null only proves the caller is signed in.
The five-minute check, the other platforms, and the agent prompt are on the full guide. More Firebase fixes are on the Firebase page.