AI News

24,664 Lovable Apps Were Leaking Passport Details — and Nobody Hacked Anything

By Asad Ali ·

25 min read

Dark cover showing an open database with records leaking out and a warning triangle, headlined 24,664 Lovable apps were leaking passport details

Researchers scanned 159,041 apps built with the AI app builder Lovable and found passport numbers, payment details and more than 200,000 private chat messages sitting in databases any visitor could read — no login, no password, no hacking. The apps handed the data over themselves, the moment the page loaded. The most important sentence in this story is the one the headlines keep getting wrong: nobody hacked Lovable.

That distinction is not a technicality. It decides who is responsible, what the fix is, and whether your own data is at risk. A German security firm, Crissy Field GmbH, did the work with the business newspaper Handelsblatt, using only the same read-only requests any browser makes. What they found was not a breach of Lovable's systems — it was thousands of apps shipped with their databases left open.

What the viral version gets wrong

  • "Lovable was hacked" is wrong. There was no exploit and no breach of Lovable itself. The researchers used read-only requests with the public anon key every app already ships in the browser. Nothing was forced open.
  • "30% of Lovable apps leak data" is wrong. The 30% figure (7,403 of the 24,664 sites examined more closely) is the share where tables containing email addresses were found. The researchers say explicitly it is not a confirmed leak rate — email addresses can be public contact details or test data, and records without an email address were missed entirely.
  • "24,664 apps leaked" overstates it too. That is the number of sites that sent database records to the browser on page load with no login. Records sent on load may be intended for public display. The proven exposures are the specific cases the researchers documented — passports, profiles, tickets, invoices — not all 24,664 sites.
  • Nobody has shown the data was misused. The researchers could not establish whether any of the exposed data was actually misused. Exposure is proven. Misuse is not.
  • The affected apps were not named. Crissy Field did not publish a list of vulnerable apps, and did not publish how to access the data, precisely so the findings could not be used to go and take it.

The short version

  • What happened: Crissy Field scanned 159,041 Lovable projects found in the Common Crawl web archive (December 2025 to September 2026). Of those, 34,545 used the database service Supabase, and 24,664 sent database records to the browser as soon as the page loaded, with no login.
  • The worst cases: one service provider exposed more than 1,000 records with passport numbers, expiry dates and nationalities. A German lifestyle forum exposed more than 80,000 profiles and more than 200,000 chat messages. Event organisers and restaurants exposed tens of thousands of ticket and food-sale records, including payment information.
  • The cause: missing Row Level Security rules in Supabase. In Supabase, a new table starts with every privilege granted to the anonymous role, and the access rules have to be switched on. Lovable's AI generator never asks about access control, and its terms place responsibility for the app and its data on the customer.
  • What Lovable said: its head of security replied on Hacker News that the root cause was insufficient Row Level Security, which the platform's pre-publish scan is built to catch, and that a free deeper scan is available.
  • The scope: Supabase only. Lovable's own newer database features were not examined, and similar misconfigurations may exist there too. The pattern is not Lovable-only: security firm UpGuard found tables readable from outside on 16,326 Supabase databases across around 300,000 domains it examined.

AI tools: Claude Fable 5.2: Anthropic's new model · AI agents: Herdr: tmux built for AI agents · Privacy: Best DNS for privacy and security 2026 · Tools: browse all free tools on Asad Webs (no database-security or leak-check tool exists on the site, so there is no direct tool link for this story).

What happened

Lovable is a Swedish AI startup founded in Stockholm in 2023 by Anton Osika and Fabian Hedin. It turns plain-language descriptions into working web applications, and it is designed for people with little or no programming experience. It grew out of Osika's open-source project GPT Engineer (2023) and was renamed Lovable in late 2024, launching publicly that November. Lovable says it has delivered more than 50 million projects, with 1.2 million new ones a week — the company's own figures, reported by Cybernews.

The promise is speed: describe the app, and the AI builds it — database, user accounts and all. The question Crissy Field set out to answer was simple: when one of those apps handles confidential information, is that data actually protected? Handelsblatt first reported the findings on 2 November 2026, Cybernews followed on 4 November, and the fuller report reached the top of Hacker News on 14 November, with 970 points and 368 comments at the time of writing.

The method was deliberately unglamorous. Using datasets from the open web archive Common Crawl, the researchers identified 159,041 Lovable projects from December 2025 to September 2026 and checked what each site's database would hand to a stranger with no credentials — first the data sent on page load, then further read-only requests with the same API key the page already gives the browser. No advanced techniques were used. As the report's author put it in the Hacker News thread, anyone with a moderate understanding of how the web works could reproduce the results.

What the researchers found, in numbers

The funnel below is the whole story in four numbers. Each step narrows the picture: from every Lovable project the researchers could find, to the ones using Supabase, to the ones that sent records without a login, to the ones where email-containing tables turned up on closer inspection.

The findings, step by stepProjects scanned159,041Used Supabase34,545Sent records on load24,664Had email tables7,403Common Crawl, Dec 2025 – Sep 2026. 7,403 is 30% of the 24,664 examined — not a leak rate.

Read the funnel carefully, because the most-shared number in this story is also the most misread. The 24,664 figure counts sites that sent Supabase records to the browser on page load without a login or any other interaction. The report is explicit that this alone is not a security issue: the data may be intended for public display, like a public directory or a menu. What made it a finding was the second step — additional read-only requests with the same key retrieved more database content, including records with email addresses in 10,560 tables across 7,403 of those sites.

That 30% is where the headlines went wrong. Email addresses can help identify personal records, but they may also be public contact addresses or test data — and the method misses personal records with no email address at all. The two effects partly offset one another, to an extent the researchers could not establish, so the report states plainly that the 30% figure should not be read as a confirmed data leak rate, and that it applies only to the 24,664 websites examined more closely. The sample, drawn from Common Crawl, is also not representative of all Lovable applications, and the researchers retrieved only parts of the datasets rather than downloading them in full.

The worst cases: passports, profiles, tickets

Behind the percentages are specific apps with real people's data in them. The most serious case the researchers documented was a service provider that exposed more than 1,000 records containing identity document details — passport numbers, expiration dates and nationalities. Those are the raw materials of identity theft: enough, combined with a name, to open accounts, pass checks, or impersonate a person. The researchers did not name the provider, and did not publish how to reach the data.

A German lifestyle forum exposed more than 80,000 profiles containing full names, email addresses, dates of birth and gender information — and more than 200,000 chat messages were accessible alongside them. Private messages are the most intimate category in this story: conversations people believed were visible only to the other person in the thread, readable by anyone who asked the database politely.

Several event organisers and restaurants exposed tens of thousands of ticket and food-sale records, with no login required — email addresses, phone numbers, postal addresses, payment information and ticket codes, everything needed to run a scam at the door. A property management company exposed AI-generated summaries of internal emails about tenants, property owners and business partners. Other accessible content included tens of thousands of contracts, invoices, personal photo albums and internal WhatsApp communications. In one case, 280,000 emails sent to a provider's customers were accessible.

Depending on what it contains, exposed data like this could be used for phishing, ticket fraud or identity theft. The researchers could not establish whether any of it had been misused. That is the honest boundary of this research: the exposure is documented, case by case, and the misuse is unknown — because nobody was watching these databases to find out.

No hack was needed

It is worth slowing down on the mechanism, because it is the part most people get backwards. Nothing was broken into: no vulnerability exploited, no password guessed, no SQL injection. The researchers only used the access those sites offer to every visitor, with read-only requests and the same key the page hands to the browser.

Every Lovable app that uses Supabase ships with a public anon key embedded in the website's code. That key is meant to be public — Supabase calls it a publishable key, and it is supposed to be safe to expose, because the database itself is meant to decide what the key may read. The protection is not the key. The protection is a set of rules inside the database called Row Level Security, and in these apps those rules were missing. With no rules in place, the public key could read whatever the app's tables contained, and the browser received it as part of loading the page.

That is why "Lovable was hacked" is not just imprecise but actively misleading. A hack implies an attacker defeating a defence; here there was no defence to defeat. The door was not picked; it was never locked. The distinction also decides the remedy: a hack is fixed by patching the platform, while this is fixed app by app, by the people who built each app, adding the access rules their apps never had.

What the headlines sayWhat the research actually showsWhy it matters
"Lovable was hacked"No exploit, no breach of Lovable itself. Researchers used read-only requests with the public anon key every app already ships.The fix is per-app access rules, not a platform patch.
"30% of Lovable apps leak data"30% (7,403 of 24,664 examined) is the share where email-containing tables were found. The researchers say explicitly it is NOT a leak rate.The real figure is the documented cases, not a platform-wide rate.
"24,664 apps leaked"24,664 sent database records on page load with no login. Records sent on load may be intended for public display.Sending records on load alone is not proof of a leak.
"Your data was stolen"Researchers could not establish whether any exposed data was misused.Exposure is proven. Misuse is not.
"Only Lovable has this problem"UpGuard found tables readable from outside on 16,326 Supabase databases across around 300,000 domains examined.The misconfiguration pattern is industry-wide.

Why it happened: Row Level Security

Row Level Security — RLS — is the mechanism that was missing. In Supabase, your app talks to the database through an API, and every request arrives under a role: a visitor who is not signed in arrives as anon, a signed-in user as authenticated. RLS is a set of rules, written per table, deciding which rows each role may see — a user may read only their own profile row, for example, or only their company's orders.

The catch is that RLS is not switched on by default. Supabase's own documentation states that a new table in the public schema starts with every privilege already granted to all three roles — anon, authenticated and service_role — including select, insert, update and delete. Until RLS is enabled and policies are written, the anonymous role can read what the grants allow. The safe state is the one you have to choose; the open state is the one you get by doing nothing.

That default is the first half of the cause. The second half is that Lovable's AI generator never asks about access control. Describe an app that stores customer records, and the AI builds the tables, wires the database, and ships the app — without ever asking "who should be allowed to read this?" A human developer would at least know the question exists. A non-technical user, told by Lovable's marketing that no technical knowledge is needed, has no reason to know it does. Lovable's terms place responsibility for applications and data handling on the customers, which leaves a gap between the promise of an easy all-in-one service and the responsibilities customers are expected to take on. That gap is the report's central finding — a design problem as much as a security one.

The fix, at the level of a single table, is short. This is the shape of it — enable RLS on the table, then write a policy that lets a signed-in user read only their own row:

-- 1. Switch Row Level Security on for the table
alter table profiles enable row level security;

-- 2. Let a signed-in user read only their own row
create policy "Users can read their own profile"
on profiles for select
using (auth.uid() = user_id);

Two lines of SQL are not the whole job — grants have to be tightened too, and every table needs its own policy and its own test — but they are the difference between a database that answers anyone and a database that answers only its own users. Supabase's documentation recommends exactly this shape: enable RLS, set the grants to match the app, write one policy per operation, and test allow and deny for both the anon and authenticated roles with supabase test db.

The public key that opens the door

The anon key deserves its own section, because it is the detail that makes this story feel like a contradiction: how can a key be both public and safe? The answer is that the key was never the lock. Supabase issues two kinds of key per project — a publishable key, meant to live in the browser, and a secret key, which must never leave the server because it bypasses RLS entirely through the service_role. The publishable key identifies the project; the database rules decide what it may do.

When those rules are absent, the publishable key becomes a master key by accident. The researchers' requests were ordinary API calls with the same key the page hands to every visitor's browser. There was nothing to steal and nothing to forge. That is also why the usual advice — "never put keys in client-side code" — does not quite capture this case. The key belongs in the browser. What does not belong in the browser is unrestricted access to the tables behind it.

The same pattern repeats across the apps because Lovable's database integrations follow recurring patterns. The report notes that this makes it easier to look for similar misconfigurations across many applications: an approach that works against one app may work against others with little extra effort. One open database is a mistake. Twenty-four thousand with the same shape is a searchable pattern — and Common Crawl, the open archive the researchers used, is available to anyone.

What Lovable said

Lovable's head of security replied in the Hacker News thread, and the reply is worth quoting in substance because it concedes the cause while disputing the framing. The root cause in these apps, he wrote, was insufficient Row Level Security — "which is exactly what our scanning is built to catch." Lovable scans every app automatically before publish and offers a deeper SAST scan, both free for all users. When the scan flags findings, users can select "Fix" and Lovable will help resolve them; they can also enable auto-fix, or block publishing entirely when there are critical findings.

That reply raises the question the report leaves open: if the scan exists and is free, why were so many apps still open? Part of it is human: in the same thread, Lovable's head of security said that for many users the fear is that the fix will break production, and that some find it easier to build with no RLS and add the rules later — but for a complex app, that is a hard task, and things break. A scan that flags a problem does not fix a user who is afraid to apply the fix.

Lovable also framed the issue as a known, industry-wide configuration problem around Supabase, rather than something specific to its platform. That framing has evidence behind it — the UpGuard figures in the next section support it — but it does not answer the report's sharper point. Lovable's users are, by design, the people least equipped to judge whether their database is safe. A platform that sells itself to non-technical users cannot hand them a database and call the configuration their problem.

Why AI-built apps are easy targets

The Lovable findings are not really a story about one company. They are a story about what happens when the cost of building software collapses and the cost of securing it does not. A year ago, shipping a full-stack app with user accounts and a database took a team. Now it takes an evening and a paragraph of plain language. Lovable says it delivers 1.2 million new projects a week — and every database created by someone who has never heard of Row Level Security is reachable from the public internet the moment it is published.

Three things make these apps easier targets than traditionally built ones. First, the patterns repeat: AI generators wire databases the same way every time, so one working probe can be replayed across thousands of apps. Second, the builders cannot spot the flaw — a shop owner who built a booking system with a chatbot has no way to tell a page is loading data it should not. Third, the review step that used to catch these mistakes — a second pair of eyes, a launch checklist, a security review — often does not exist, because the whole point of the tool is that you do not need one.

None of this is an argument against AI app builders. The same tools that let a restaurant owner build a booking system in an evening are genuinely useful, and the apps in this report were built by real people solving real problems. The argument is narrower: an easy-to-use platform does not remove the need for an expert review of access permissions before an app handles confidential data. Automated checks are no substitute for a professional security assessment — the report's own conclusion, and the sentence every vibe-coding user should read before their app takes its first real customer record.

This is bigger than Lovable

The report examined Lovable apps only, and only those using Supabase. But the misconfiguration is not specific to either. Security firm UpGuard recently examined around 300,000 domains with indications of Supabase use, and found tables readable from outside on 16,326 databases — more than half with indications of personal data, according to Cybernews's account of the UpGuard work. Supabase is popular precisely because it is easy to wire into a generated app, and its defaults reward the person who configures it properly and punish the person who does not.

Nor is Lovable the first AI builder to face this kind of finding. In February 2026, researchers reported that a free Lovable account could access other users' project source code and AI chat histories; according to those reports, Lovable first called the exposure "intentional behavior", then admitted a backend migration had re-exposed every project created before November 2025, and that chat histories containing API keys had been publicly accessible for 48 days. That was a platform bug, fixed by Lovable. This one is different: the platform did not break, the users' apps were built open. Both were found by outsiders, not by the platform.

The honest way to describe the scale is this: the problem is as wide as the habit of shipping databases with default permissions, and Lovable is where the habit is easiest to measure, because its apps are numerous, uniform, and public. Any platform that generates full-stack apps with a database attached has the same exposure, and any developer — human or AI — who skips the access rules ships the same open door.

How to check your own app

If you built an app with Lovable, or with any AI builder wired to Supabase, you can check it in a few minutes — and you should, before the app takes another real record. Open it in a private browser window, signed out, and see what data loads. Then test as a stranger would: Supabase's own documentation describes the same checks the researchers effectively ran.

Start in the Supabase dashboard, table by table. For every table in an exposed schema, confirm RLS is enabled and a policy exists for each operation — select, insert, update and delete — and that the policies name the roles they apply to. Mind the grants too: a table protected only by policies still hands the anon role an insert path if you never revoked the grant. Supabase's guide says to set both for every table, and to write a test file asserting allow and deny for anon and authenticated on each operation, then run supabase test db and fix what it reports. Until that suite passes, you do not know whether the policies do what you intended.

Then test from the outside. Sign out, open the app, and watch what loads. Better still, ask someone else to try to read a record that is not theirs — a second account's profile, another customer's order — and confirm the request comes back empty. If your app has a scanner, run it: Lovable's pre-publish scan and its deeper SAST scan are both free, and auto-fix can apply the corrections. Repeat the checks after every significant change, because a new table added by the AI starts open again, exactly like the first one did. The rule is simple: protection goes in before the first real data, not after.

If your data was exposed, what to do

If you used an app built on Lovable — a forum, a booking system, a service that asked for identity documents — and you are wondering whether your data was among the exposed records, the honest answer is that you probably cannot tell from the outside. The affected apps were not named. What you can do is practical rather than forensic.

First, change the passwords on any account that shared a password with the exposed app, and turn on two-factor authentication where it is offered. The exposed records included email addresses, phone numbers and dates of birth — the exact ingredients of a convincing phishing message — so treat unexpected messages claiming to be from a service you used with extra suspicion, especially any asking you to click a link or confirm details. Second, if you submitted identity documents to an app, watch for signs of identity theft: unfamiliar accounts, unexpected credit checks, or official mail about things you did not do. In many countries you can place a fraud alert with a credit bureau. Third, ask the service directly — "was my data stored in a Supabase database with Row Level Security enabled?" A service that cannot answer is telling you something.

If you built the app, the obligation runs the other way: tell your users. The researchers could not establish misuse, but the people whose data was readable have a right to know it was readable. Fix the access rules first, then disclose — in that order, and quickly.

Verdict

The Lovable story is not a hacking story. It is a story about defaults. A database that starts open, a generator that never asks who may read the data, and a million new apps a week built by people told no technical knowledge was needed. The researchers did not break in; they walked through a door that was never locked, and counted what was on the other side: passport numbers, private messages, payment details, contracts, invoices, and 280,000 emails — all readable by anyone who asked politely.

Lovable's reply — that the cause was insufficient Row Level Security, and that its scanner is built to catch exactly that — is true as far as it goes. But a scanner only helps the user who runs it, understands it, and is not afraid to apply the fix. The deeper lesson belongs to everyone building with AI: the AI built the app, but nobody built the lock. Until access rules are part of what the generator creates by default, every new wave of vibe-coded apps will ship with the same open door — and the next report will count the same things, in larger numbers.

Frequently Asked Questions

Was Lovable hacked?

No. There was no exploit and no breach of Lovable's own systems. Researchers from Crissy Field used read-only requests with the public anon key that every Lovable app already ships in the browser. The data was exposed because the apps' databases had no Row Level Security rules, not because anyone broke into Lovable.

Does the 30% figure mean 30% of Lovable apps leak data?

No. The 30% (7,403 of the 24,664 sites examined more closely) is the share where tables containing email addresses were found. The researchers state explicitly that it should not be read as a confirmed leak rate — email addresses can be public contact details or test data, and records without an email address were missed. The proven exposures are the specific documented cases, such as the passport records and the forum profiles.

How many apps were affected?

The researchers scanned 159,041 Lovable projects found in Common Crawl (December 2025 to September 2026). Of those, 34,545 used Supabase, and 24,664 sent database records to the browser on page load with no login. How many of those were genuinely leaking sensitive data is not a single number — the report documents serious cases individually rather than giving a platform-wide leak rate, and its sample is not representative of all Lovable apps.

What is Row Level Security?

Row Level Security (RLS) is a set of rules inside a Supabase database that decide which rows each type of user may see — for example, a user may read only their own profile row. In Supabase, a new table starts with every privilege granted to the anonymous role, and RLS has to be switched on per table. Without it, the public anon key the app ships in the browser can read the table's contents.

What did Lovable say about the findings?

Lovable's head of security replied on Hacker News that the root cause was insufficient Row Level Security, which the platform's pre-publish scan is built to catch, and that a free deeper SAST scan is available. Users can select "Fix" and Lovable will help resolve flagged findings, enable auto-fix, or block publishing entirely when there are critical findings.

How do I check whether my own Lovable app is affected?

Open the app in a private browser window while signed out and see what data loads. In the Supabase dashboard, check that RLS is enabled on every table and that a policy exists for each operation (select, insert, update, delete). Run Lovable's pre-publish scan and its free deeper SAST scan, and repeat the checks after every significant change — a new table added by the AI starts open again.

Sources

  • Crissy Field GmbH — "Lovable: Many Apps Built on the Platform Expose Sensitive Data" (research report; Handelsblatt reported the findings on 2 November 2026, Lina Knees; the report presents a more recent analysis with updated figures): https://www.crissyfield.de/research/lovable-en/
  • Cybernews — "Lovable AI apps exposed sensitive data in open databases" (4 November 2026): https://cybernews.com/security/lovable-ai-apps-expose-personal-information/
  • Hacker News — "Lovable apps expose passport details and more than 200K private messages" (thread, 14 November 2026; 970 points, 368 comments at the time of writing, including Lovable's head of security's reply): https://news.ycombinator.com/item?id=50499017
  • Supabase — "Row Level Security" documentation (new tables start with every privilege granted to the anon role; RLS must be enabled per table): https://supabase.com/docs/guides/database/postgres/row-level-security
  • Handelsblatt — Lina Knees, "Hat die beliebte KI-Coding-Plattform ein Sicherheitsproblem?" (2 November 2026, in German). No direct link is given: the article is paywalled and its URL could not be verified from this machine, so no URL has been guessed.
  • Lovable's blog post on its security scanning approach ("find-it-fix-it-ship-it"), linked from Lovable's head of security's Hacker News reply. No direct link is given: lovable.dev does not load from this machine, so the URL is not linked rather than guessed.

Related reading: Claude Fable 5.2: Anthropic's new model · Herdr: tmux built for AI agents · Best DNS for privacy and security 2026

Want a website that markets itself? Asad Webs builds fast, search-ready websites and web apps — talk to us about yours: asadwebs.com/#contact.

Category: AI News

Tags: technology

About Asad Ali

Asad Ali is a graphics designer with over 20 years of experience — designing since 2003 — and the founder of Asad Webs, based in Pakistan. He builds the free online tools on this site and writes the guides published here.

LinkedIn Facebook Website
KEEP READING

Next guide

Did Bill Gates Say AI Will Kill a Billion People? What He Actually Said →

Related articles

Join the conversation

No account needed. Comments appear only after approval. Your email address will not be published.

Be the first to share a useful question or thought.

You won’t be subscribed to any mailing list.
WELCOME BACK

Sign in

Access your orders, saved products and account.