If you built an app with Lovable this year, this week’s headlines were probably unsettling. On November 2, German business daily Handelsblatt reported research showing that thousands of Lovable-built apps were handing their users’ data to anyone who asked for it.
Here’s the part that should calm you down a little: in most cases nobody broke into anything. The data sat behind a door the app itself left unlocked. That means you can check for it yourself, today, and close it.
This guide covers what the researchers found, why it keeps happening, and how to test and fix your own app in about 15 minutes. It’s one of the five AI-linked breaches from the past three weeks we’ve been tracking.
Quick answer
Lovable apps usually keep their data in Supabase, whose public “anon” key ships inside every visitor’s browser. Supabase row-level security (RLS) is what stops that key from reading everything. If RLS is off, or a policy says using (true) on private data, anyone can read your tables. Check with Supabase’s Security Advisor, a pg_tables query and a test request as an anonymous visitor. Then turn RLS on and add owner-only policies.
What the November 2026 research found
The research group Crissy Field, working with Handelsblatt, combed public web archives from December 2025 to September 2026 for apps built on Lovable. Here’s how the numbers narrowed, according to a technical write-up of the findings:
| Stage | Apps |
|---|---|
| Lovable projects identified | 159,041 |
| Using Supabase as their database | 34,545 |
| Returning database records on page load, no login needed | 24,664 |
| Exposing email addresses | 7,403 |
Not every one of the 24,664 is a problem, because some apps show public data on purpose. The 7,403 apps leaking email addresses are the clearer signal, and the researchers call even that a conservative floor. What sat inside some of those apps is the part that stings:
- More than 1,000 records with passport numbers, expiry dates and nationalities at one service provider
- Over 80,000 user profiles and 200,000 private chat messages on a German lifestyle forum
- Payment details and valid ticket codes from event organizers and restaurants
- In one case, 280,000 customer emails readable without logging in
No zero-day vulnerability was involved. The exposure came from configuration defaults and the way AI agents build apps.
Not the first time: a short Lovable security timeline
| When | What happened | Source |
|---|---|---|
| Nov 2026 | 7,403 apps found exposing email data through open Supabase tables | The CyberSec Guru |
| Apr 2026 | An API flaw let a free account reach other users’ public projects, source code and database credentials; still open 48 days after it was first reported | The Next Web |
| Feb 2026 | A single featured EdTech app had 16 flaws, six critical, exposing 18,697 user records | The Next Web |
| May 2025 | CVE-2025-48757: missing RLS exposed 303 endpoints across 170 apps | Superblocks |
Lovable has since added a security scan that runs when you publish and an AI security reviewer. Its terms, though, place responsibility for app data on you, the customer.
Why this keeps happening
Three things combine.
The anon key is public by design. Supabase gives every project a key that’s meant to live in browser code. It isn’t a secret, so it can never be your security.
Row-level security is the real lock, and it’s easy to leave off. RLS rules decide which rows each visitor can read or change. Supabase’s documentation says to enable it on every table in an exposed schema. Yet tables created through raw SQL, migrations or API calls don’t get RLS switched on automatically, the researchers point out.
AI builders aim for “it works.” Switching RLS on without the right policies breaks the app during testing, so AI agents often skip it. The app looks finished. It just isn’t locked.
There’s a newer twist. Even with RLS on, one sloppy policy can undo it. An October 2026 review of 38 public Lovable codebases found RLS off on only 2 of 826 tables. But 10 of the 38 projects (26%) had policies letting anyone, or any signed-in user, update or delete every row in at least one table, according to the review on DEV Community. The usual culprit is a policy written as using (true), often added as a “temporary” fix and never removed.
It’s the same pattern behind most vibe coding risks: AI builds features well and leaves the security decisions to whoever reads the code next.
Is Lovable safe to use?
Yes, for the right jobs, as long as you accept that your app’s security is your job. The scan Lovable runs on publish is a useful baseline, not an audit, and none of the AI builders’ built-in checks replaces a code review. Treat any AI-built app that stores personal data, payments or business records as unfinished until a person has checked its database rules.
How to check your Lovable app in 15 minutes
These steps assume you can open your project’s Supabase dashboard and SQL editor. If Lovable Cloud manages your database and you can’t, ask a developer or Lovable support for access first.
- Step 1: Run the Security Advisor.
- Step 2: List every table and its RLS status.
- Step 3: Look for policies that let everyone in.
- Flag any policy where qual or with_check is simply true on a table that holds private data.
- Step 4: Test like a stranger would.
If real user data comes back, that table is open to the internet. Repeat for each table.
Step 5: Search your front end for secret keys.
Step 6: Check your views.
How to fix what you find
- Turn RLS on for each table:
- alter table public.profiles enable row level security;
- Add owner-only policies.
- Remove open policies on private data.
- Move secret keys to the server and rotate them.
- Re-run the anonymous test
If data was exposed, work out what, for how long and whose, then take legal advice on notification. In India, CERT-In’s 2022 Directions set a six-hour window for reporting cyber incidents, and US state breach notification laws have their own rules.
If you also edit your app in an AI coding tool, read our guide on how to secure the tool itself.
When to call in a professional
- Your app stores ID documents, payments, health data or anything about children
- Step 4 returned real data and you don’t know how long it’s been open
- You have more than a handful of tables or complex sharing rules
- Fixing RLS broke features and you’re tempted to switch it back off
How AK Web Growth Agency can help
We audit and fix apps built with Lovable, Bolt, Replit and Cursor, starting with the database. A typical review covers every table’s access rules, exposed keys, views and functions, and ends with a plain-English report of what was open and what we closed. Book an AI code audit and cleanup, or talk to our developers if your Step 4 test came back with data.
The bottom line
The Lovable leak wasn’t a sophisticated hack. It was thousands of apps shipped with the lock off, by tools that made building easy and left securing to the owner. The good news cuts the same way: checking takes minutes, and the fix is usually a few lines of SQL. Do it before someone else runs the test for you.





