Lovable apps leak passports and 200K private messages
A security research team examined 159,041 Lovable projects built between December 2025 and September 2026 and found many exposing personal and confidential data without a login. Of the 34,545 projects using Supabase as their database, 24,664 sent database records on page load; in 7,403 of those sites the team pulled further records containing email addresses. The worst cases included a German lifestyle forum with over 80,000 profiles and more than 200,000 chat messages, a provider exposing over 1,000 identity-document records with passport numbers and nationalities, and 280,000 customer emails. The researchers stress the 30% figure is not a confirmed leak rate: the sample comes from the Common Crawl web archive, is not representative, and only partially downloaded each dataset. Lovable's head of security said in the comments that the root cause was insufficient Row-Level Security (database rules limiting who can read each row), that every app is scanned before publishing, and that a deeper scan and one-click fixes are free for all users.
Lovable builds apps from plain-language prompts, and many of those apps store their data in Supabase, a hosted Postgres database that Lovable connects to. Supabase controls who can read which rows through Row-Level Security (per-row access rules); if those rules are missing or too loose, the database's public API returns records to anyone who asks. Supabase's own documentation describes Row-Level Security as the main way to secure that API.
Anyone who shipped a Lovable app with a Supabase backend should assume its tables may be readable without login until they check the access rules themselves. The researchers note that Lovable's database integrations follow recurring patterns, so a misconfiguration that works on one app is easy to repeat against others; they recommend a review of permissions and account separation before real customer data goes in, and again after major changes. Lovable's pre-publish scan and auto-fix reduce the risk but, per the researchers, do not replace a professional security review.
Lovable's head of security confirmed in the thread that insufficient Row-Level Security caused the exposures and pointed to free pre-publish scanning, a deeper SAST scan, and auto-fix. One commenter argued Supabase shares the blame, saying its permissive defaults were a deliberate onboarding tradeoff and that a fix said to land October 30 may not apply to existing projects; that claim is unverified here. Others said platforms need deny-by-default databases and automated auth tests so AI-generated apps fail safe.