Supabase/Firebase apps without row-level security expose every row to anyone with the public key. Turn on RLS and test with a second account.
6 items · 0 stories · 6 security incidents
Why it happens
Apps built on Supabase or Firebase talk to the database straight from the browser with a public key. Without row-level security or security rules, anyone with that key can read or change every row.
What to check in your own app
Turn on row-level security for every table and add explicit policies.
Test with a second account and with no account at all.
Never expose the service-role or admin key to the browser.
Check which columns a user can update, so nobody can change their own role or plan.
Hamburg security firm Crissy Field GmbH found 159,041 Lovable projects in Common Crawl data (December 2025 to September 2026); 34,545 used Supabase, and 24,664 of those sites sent Supabase records as soon as they loaded, with no login. Further read-only requests with the public key found records with email addresses in 10,560 tables across 7,403 sites. Cases they downloaded include a German lifestyle forum with more than 80,000 profiles and more than 200,000 chat messages, event and restaurant ticket and sales records, and a service provider exposing more than 1,000 identity-document records with passport numbers. Handelsblatt first reported it on 2 November 2026. The researchers say the 30% figure is not a confirmed leak rate, and that they could not establish whether any data was misused.
Shippable, which sells a security checker, says it ran static checks on about 25,000 public GitHub repos built with Bolt, Lovable, Cursor, Replit and v0 (updated 22 Oct). It says 51% of Bolt repos had at least one security issue and 20% a critical one, with 26% having a database table open to the public; 14% of Lovable repos had committed .env files. It found tokens made with Math.random() across every builder (7% to 14%).
Wiz found the AI-agent social network Moltbook running a Supabase backend whose public key allowed reading the database, exposing large numbers of agent API tokens and user data. It was fixed after disclosure.
Two researchers scanned 1,645 showcased Lovable apps and found 303 Supabase endpoints in 170 projects readable or writable without login, exposing emails, payment details and API keys.