A scan of 159,041 projects built on Lovable turned up passport numbers, payment details, contracts, and more than 200,000 private chat messages sitting in databases that answered anyone who asked. No exploit was written. No credential was stolen. The researchers loaded the pages and read what the browser was already permitted to fetch.
That distinction matters more than the headline number. The story is not that an AI company got hacked. It is that tens of thousands of applications were published with a database that had no rules about who could read what, and nobody in the build process was responsible for noticing.
The platform behind the numbers
Lovable is a Stockholm company founded in 2023 by Anton Osika and Fabian Hedin, grown out of Osika's open-source GPT Engineer project. The product takes a plain-language prompt and generates a full-stack web application: a React front end, authentication, a database, and a deployment, all from a chat window. It reached a reported $100 million in annual recurring revenue within about eight months of launch, passed eight million users, and by its $400 million Series C in August 2026 was valued at $13.3 billion. The company has reported hosting 50 million projects, with roughly 1.2 million new ones created each week.
Two details of that product shape everything that follows. The first is that Lovable's default path to a backend runs through Supabase, the hosted Postgres platform that supplies database, auth, and storage for generated apps. The second is who is doing the building. Lovable has said around 80 percent of its builders are non-technical, which is the entire point of the category and also the entire problem.
How the research was done
The German security firm Crissy Field pulled Lovable projects out of Common Crawl, the open web archive, and kept those published between December 2025 and September 2026. That produced a working set of 159,041 projects. Of those, 34,545 were running on Supabase.
Then came the part that required no cleverness at all. On 24,664 of those Supabase-backed sites, database records came back on page load, with no login and no interaction. Some of that is legitimate: a public directory or a marketing page is supposed to show rows to strangers. So the researchers went one step further and issued additional read-only requests using the same API key the page had already handed to their browser. On 7,403 sites, about 30 percent of the subset, they found records containing email addresses across 10,560 tables.
The researchers were careful about what those figures do and do not mean. Thirty percent is not a confirmed breach rate. An email address in a table may be a public contact address or test data. The method keys on email addresses, so a table leaking names and phone numbers without one would not be counted. And the sample is not a representative survey of everything built on Lovable. What the numbers do establish is that the failure mode is common enough to find at industrial scale by reading public web archives.
What was sitting in the open
The specific findings are what turn an abstract configuration discussion into a data protection incident.
A German lifestyle forum leaked more than 80,000 user profiles, complete with full names, email addresses, dates of birth, and gender, alongside over 200,000 chat messages. Event organizers and restaurants exposed tens of thousands of orders and ticket sales, including phone numbers, postal addresses, payment information, and ticket codes. A service provider's database returned more than 1,000 identity records containing passport numbers, expiry dates, and nationalities. Elsewhere the researchers found contracts, invoices, photo albums, internal WhatsApp communications, and in one provider's case 280,000 customer email addresses.
Passport numbers with expiry dates and nationalities are not an inconvenience. That combination is the raw material of identity theft. Ticket codes and order records are the raw material of fraud at the door. The researchers noted they could not determine whether any of it had actually been misused, which is the least comforting sentence in the report: exposure without evidence of exploitation is not the same thing as safety.
A public key is not the bug
The instinct on reading this is to ask why a database key was visible in a browser at all. That instinct is slightly off target, and understanding why is the difference between fixing the problem and reinstalling it.
Supabase is designed to be called directly from the client. Generated apps ship with a public, anonymous API key in the front-end bundle, and that is expected. The key identifies the project; it does not grant blanket access. What stands between that key and your rows is Row Level Security, a Postgres feature that attaches policies to tables and evaluates them per request. With RLS enabled and policies written, a request carrying the anonymous key sees only what the policy permits, which for private data should be nothing.
With RLS disabled, or enabled with a policy that evaluates to true for everyone, the anonymous key reads the table. The same applies to writes. This is not a subtle edge case in Postgres; it is documented behavior, and it is why Supabase's own guidance tells developers to enable RLS on every table in an exposed schema.
The failure is therefore not that Lovable put a key in the browser. It is that apps were published where the policy layer was never configured, and the person publishing had no framework for knowing that a policy layer existed. Lovable's own database features, introduced in late 2025, were outside the scope of the Crissy Field investigation, which looked at the Supabase integration path.
This has happened before, and it keeps happening
The November 2026 findings are the largest measurement of the problem, not its first appearance.
In March 2025 a Replit employee found that websites built with Lovable and connected to Supabase frequently had misconfigured access controls, leaving database contents public. Lovable responded by adding automatic checks, but as reported at the time, those checks did not determine whether the access controls were correct. In April 2026 a researcher reported a broken object level authorization flaw in which a free account could reach other users' source code and database credentials; Lovable's public statements on that report went through several revisions before the company apologized and acknowledged a permission handling mistake. There is also CVE-2025-48757, a published information disclosure vulnerability covering insufficient RLS policy in Lovable through mid-April 2025, rated 9.3 with a network attack vector requiring no privileges or user interaction. The CVE is disputed by the vendor on the grounds that customers are responsible for protecting their own application data.
That dispute is the fault line running under this entire category. A platform that generates the backend, chooses the database, wires the client key, and tells a non-technical user that their app is live has enormous influence over whether the result is safe. A platform that then says data protection is the customer's job has, in practice, assigned that job to someone who was never told they had it.
Why the pattern is worse than the count
Individual misconfigured apps are an old story. What makes this one worth writing about is that the misconfigurations are not independent.
Crissy Field's central observation is that Lovable's database integrations follow recurring patterns. The same table shapes, the same client setup, the same default policies, generated the same way across projects. A technique that works against one app therefore transfers to thousands of others with almost no additional effort. An attacker does not need to understand each target; they need to understand the template.
Scale makes it worse in both directions. Lovable reports 1.2 million new projects per week. Separately, UpGuard examined roughly 300,000 domains with indications of Supabase and found 16,326 where tables were readable from outside, with more than half of those showing indications of personal data. Whatever the exact overlap with Lovable's output, the direction is clear: the volume of generated backends is growing faster than the volume of people qualified to review them.
What the platform has added since
Lovable has not been idle on this. In June 2026 it shipped a security experience built around scans at publish time.
A basic scan now runs automatically when a user publishes, completing in roughly 10 to 15 seconds. It checks for database misconfigurations, missing RLS policies, and authorization gaps, and can auto-fix low-risk findings that will not change how the app behaves. Results come back as a pass, warnings, or critical issues, and workspace admins can configure critical findings to block publishing entirely. A separate deep scan runs an AI review of the codebase for logic flaws and app-specific vulnerabilities in about two to four minutes; it is recommended before a public launch, before handling sensitive user data, or after architectural changes, and enterprise admins can schedule it weekly or monthly across a workspace. A security memory feature records how a builder responds to findings so the scanner and the coding agent stop re-flagging the same items, which Lovable says reduced ignored findings by about 20 percent in its testing.
These are real improvements, and the publish-time gate is the right place to put them. The limitation is stated plainly in Lovable's own description: the basic scan checks configuration, schema, RLS, and sensitive data exposure, but it does not analyze application code for logic flaws. It can tell you a policy is missing. It cannot tell you that the policy you wrote expresses the business rule you meant.
The question under the technical one
Strip away the Postgres details and the incident reduces to three questions no scanner can answer for you.
Who owns this data? Who is allowed to see it? Where is the official version of it?
In a company-built app, those questions get answered in a design review, a data classification exercise, and an integration with a system of record. In an app built in an afternoon by someone in operations who needed to track customer jobs, they get answered by nobody. The tool works, people start using it, and six months later it holds customer records that were never reviewed, never owned, and never connected to the authoritative source. The Lovable findings are the same pattern at public internet scale, where the app is not behind a corporate login and the discovery mechanism is a web crawl.
There is a related trap worth naming: a working login does not prove your data is private. An app can have authentication, a polished sign-in screen, and a session cookie, and still hand the entire table to an unauthenticated request at the API layer. Authentication answers who you are. Authorization answers what you may read. Generated apps routinely get the first and skip the second, because the first is visible in the interface and the second is not.
A pre-launch check that matches this failure mode
If you have built or inherited a Lovable app on Supabase, the useful checks are specific and short.
- Confirm RLS is enabled on every table in the exposed schema. In the Supabase SQL editor, query pg_tables and treat any row with rowsecurity set to false as a blocker, not a warning.
select schemaname, tablename, rowsecurity
from pg_tables
where schemaname = 'public'
order by rowsecurity asc, tablename;
- Write policies that check ownership rather than existence. A policy that lets every authenticated user read every row is barely better than no policy at all.
alter table orders enable row level security;
create policy "owners read their own orders"
on orders for select
to authenticated
using (auth.uid() = user_id);
create policy "no anonymous reads"
on orders for select
to anon
using (false);
-
Test as two different users, not as one. Sign in as account A, then request account B's records directly at the API layer with A's token. If the request returns rows, hiding a button in the interface proved nothing.
-
Check what is in the client bundle. A public anonymous key is normal. A service role key, a Stripe secret, or a model provider API key in front-end JavaScript is not, and generated apps have shipped all three.
-
Separate build-time convenience from production exposure. If a table holds real customer data, someone able to reason about that data should review the access model before the first real record lands.
-
Run the deep scan before launch if you are on Lovable, and read the findings rather than dismissing them. The scan is a floor, not a ceiling.
What this means for the category
Vibe coding tools compress the distance between an idea and a running application, and that is a genuine good. The same compression applies to mistakes. A missing access policy in a hand-built internal tool affects one team; the same omission in a template-generated app affects every deployment of that template, discoverable by anyone with a web crawl and a script.
The uncomfortable conclusion is that the platforms cannot fully solve this for their users, and their users cannot fully solve it without the platforms. A tool that generates a database has to make safe defaults the path of least resistance, which means RLS on by default, policies that deny rather than permit when unspecified, and prompts that ask who should see a table before generating it. A builder who ships to real people has to accept that a working app and a safe app are separate acceptance criteria, and that the second one costs an afternoon.
Both of those are choices, and neither is automatic. The 24,664 apps that answered a stranger's request are the evidence of what happens when the choice is left to whoever is holding the prompt.