Dev.to
7/15/2026

How a BOLA authorization flaw exposed all user data days after launch
Original: How BOLA killed my MVP (and what I wish I'd done before launch)
Short summary
A founder built a project management MVP using Cursor and Supabase, only to discover a Broken Object Level Authorization (BOLA) flaw days after launch — users could access other users' projects by changing URL IDs. The fix was a single .eq('user_id', session.user.id) call missing from six routes. BOLA is OWASP API Top 10 #1, yet many AI-assisted builds skip authorization testing entirely.
- •BOLA (Broken Object Level Authorization) found 2 days post-launch — users could see other users' data
- •Fix was adding one ownership check line missing from six API routes
- •OWASP API Top 10 #1 vulnerability class often missed in AI-assisted development
Generated with AI, which can make mistakes.
Is this a good recommendation for you?


