← All guides

Was your Lovable app one of the exposed Supabase sites? Check in 60 seconds

Updated 16 November 2026 · 7 min read

Short answer: In November 2026, Hamburg security firm Crissy Field reported that thousands of Lovable-built sites using Supabase returned database records without a login. That does not automatically mean private data was leaked — some tables are meant to be public — but the same setup (Row Level Security off, or a policy that is too open) is how emails, messages and identity records get exposed. You can check your own app in about a minute.

Also read: How to check if your Lovable app leaks a Supabase key · RLS explained for non-coders.

What was reported?

Crissy Field, working with the German business daily Handelsblatt, analysed Lovable projects found in the Common Crawl web archive from December 2025 to September 2026. Handelsblatt first reported the findings on 2 November 2026. Crissy Field then published an English research report with updated figures. According to that report:

  • They identified 159,041 Lovable projects and looked more closely at the 34,545 that used Supabase. They did not examine Lovable's own database (Lovable Cloud).
  • 24,664 of those sites sent Supabase records as soon as the page loaded, with no login. The researchers are clear that this alone is not a security issue, because the data may be intended for public display (a menu, a public event list, and so on).
  • With further read-only requests using the same public API key the page already uses, they found records containing email addresses in 10,560 tables across 7,403 of those 24,664 sites (30%). They say this 30% figure should not be read as a confirmed leak rate: an email can be a public contact or test data, and the Common Crawl sample is not representative of every Lovable app.

The report describes serious cases without naming the operators, including a German lifestyle forum with more than 80,000 profiles and more than 200,000 chat messages, event organisers and restaurants with tens of thousands of ticket and food-order records, and a service provider with more than 1,000 identity-document records, including passport numbers. The researchers say they could not establish whether any of the data had been misused.

Nobody had to break into Lovable. The reported problem is in how individual apps configured access to their own databases. English-language coverage of the same figures includes Cybernews and a later explainer from Privacy Affairs (14 November 2026).

Why does this happen?

A Lovable app that uses Supabase typically talks to the database from the browser. Four details, often misunderstood, explain most of the exposures:

  • The anon (publishable) key is public by design. It is supposed to appear in your frontend. Supabase's API key docs say it is safe to expose only if Row Level Security is on. The key is not a password; the policies are the lock.
  • Row Level Security is off, or the policy is USING (true). If RLS is disabled on a table, anyone who has the public key can often read every row. A policy written as USING (true) looks like protection, but it means "allow everyone". AI builders sometimes add that policy just to make an error go away.
  • "Any logged-in user" policies are nearly as open. A rule that lets every signed-in user read a table sounds safe until sign-ups are public. Then anyone can create an account and read other people's rows. Owner-only policies (user_id = auth.uid()) are the usual fix for personal data.
  • A service_role or sb_secret_ key in the JavaScript bundle bypasses RLS entirely. That key must stay on a server (for example a Supabase Edge Function). If it shipped in public JS, treat it as compromised and rotate it. See our key-leak guide.

This pattern is not new. In 2025 a smaller scan of Lovable showcase apps became CVE-2025-48757. Supabase's 30 October 2026 change stopped exposing new tables to the Data API automatically, but existing tables keep their current grants. An app that was open in October is still open until someone fixes it.

A 60-second check on your own app

Do this only on an app you own or have permission to test. You are checking what a normal logged-out visitor can already see.

  1. Log out completely. Open your live app in a private or incognito window, with no session cookie. If the home page already shows other people's names, emails, orders or messages, stop there: that data is public.
  2. See what the public anon key can read. Press F12, open the Network tab, reload, and look for requests to *.supabase.co/rest/v1/ (or your custom Supabase domain). Click a request and read the JSON. If a table that should be private returns rows while you are logged out, RLS is too open. The anon key in your page source is meant to be public; the question is whether it can read private rows without a user token.
  3. Search the public JavaScript for a secret key. In DevTools go to Sources, press Ctrl+Shift+F (Cmd+Opt+F on a Mac), and search for service_role, sb_secret and sb_secret_. If you get a hit, that key bypasses RLS. Remove it from the frontend and rotate it in the Supabase dashboard (Settings → API Keys).

If you would rather not do this by hand, paste your URL into the free Vibe Check. It only reads public pages and JavaScript, flags secret keys (with values redacted), and points out Supabase setups that need a closer look. It takes about a minute and does not require an account.

Concrete SQL fixes

Run these in the Supabase SQL editor on your project, after adapting table and column names. If you prefer not to touch SQL, the prompt at the end of this section can go straight into Lovable.

Turn RLS on, and stop anonymous users reading a table of personal data:

ALTER TABLE public.profiles ENABLE ROW LEVEL SECURITY;

-- Remove a policy that lets everyone through (rename to match yours)
DROP POLICY IF EXISTS "Enable read access for all users" ON public.profiles;

CREATE POLICY "owners can select their rows"
  ON public.profiles
  FOR SELECT
  TO authenticated
  USING (user_id = auth.uid());

CREATE POLICY "owners can insert their rows"
  ON public.profiles
  FOR INSERT
  TO authenticated
  WITH CHECK (user_id = auth.uid());

CREATE POLICY "owners can update their rows"
  ON public.profiles
  FOR UPDATE
  TO authenticated
  USING (user_id = auth.uid())
  WITH CHECK (user_id = auth.uid());

CREATE POLICY "owners can delete their rows"
  ON public.profiles
  FOR DELETE
  TO authenticated
  USING (user_id = auth.uid());

For a table that really should be public to read (published posts, a product catalogue), allow SELECT only, and keep writes limited:

ALTER TABLE public.posts ENABLE ROW LEVEL SECURITY;

CREATE POLICY "anyone can read published posts"
  ON public.posts
  FOR SELECT
  TO anon, authenticated
  USING (published = true);

CREATE POLICY "owners can write their posts"
  ON public.posts
  FOR ALL
  TO authenticated
  USING (user_id = auth.uid())
  WITH CHECK (user_id = auth.uid());

Then open Supabase → Advisors → Security Advisor and clear every RLS warning. Repeat the logged-out check. If a signed-in user should still be unable to see another user's row, test with two accounts as well.

Or paste this into Lovable (or your AI builder):

Go through every table in my Supabase database. Turn on Row Level Security for each one. For tables with user data, add policies so a signed-in user can only select, insert, update and delete rows where user_id = auth.uid(). Remove any policy that uses `true` for everyone, including policies that allow any authenticated user to read all rows. Don't change the app's features. When you're done, list every table with its policies in a simple table.

More detail is in our RLS guide for non-coders.

If you find private data was already exposed

Fix the policies first, then rotate any secret key that was in the frontend. If the app holds personal data of people in the EU, you may have a duty to assess whether this is a reportable breach; that responsibility sits with you as the app operator, not with Lovable. This page is not legal advice — check the rules that apply to you, or ask a professional. Then tell affected users clearly if their data was readable.

Check your app in about a minute

The free Vibe Check only reads your public pages and JavaScript. It flags leaked secret keys and Supabase setups that need a closer look. No signup.

Run free Vibe Check

If you want a written report with a fix prompt for every issue, the Launch Audit is ₹299 (USD $5).

FAQ

Was my Lovable app one of the sites in the report?

You probably cannot tell from the outside. Crissy Field did not name the apps, and paid plans can run on any domain. The practical step is to run the 60-second check above, or a free Vibe Check, on your own URL.

Did someone hack Lovable?

No. The reported issue is about how individual apps configured their Supabase tables. The public anon key is meant to be in the browser; Row Level Security is what is supposed to keep private rows private.

Does 24,664 — or 30% — mean that many apps leaked personal data?

No. The researchers say records returned on first load are not automatically a security problem, and that the 30% figure should not be read as a confirmed leak rate. Treat the numbers as a signal to check your own app, not as a verdict on every Lovable project.

Is the Supabase anon key a secret?

No. It is designed to be public, but it is only safe if Row Level Security is enabled with correct policies on every table. A service_role or sb_secret_ key is different: it must never appear in frontend code.