WordPress Security & Maintenance Published Updated 7 min read

Lovable Data Leak: How to Check If Your App Is Exposed, and Fix It Today

Lovable app connected to a Supabase database with an open padlock
On this page
  1. What the November 2026 research found
  2. Not the first time: a short Lovable security timeline
  3. Why this keeps happening
  4. Is Lovable safe to use?
  5. How to check your Lovable app in 15 minutes
  6. How to fix what you find
  7. When to call in a professional
  8. How AK Web Growth Agency can help
  9. The bottom line
  10. Frequently asked questions

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:

StageApps
Lovable projects identified159,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

WhenWhat happenedSource
Nov 20267,403 apps found exposing email data through open Supabase tablesThe CyberSec Guru
Apr 2026An API flaw let a free account reach other users’ public projects, source code and database credentials; still open 48 days after it was first reportedThe Next Web
Feb 2026A single featured EdTech app had 16 flaws, six critical, exposing 18,697 user recordsThe Next Web
May 2025CVE-2025-48757: missing RLS exposed 303 endpoints across 170 appsSuperblocks

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.

Frequently asked questions

Was Lovable hacked?

The November 2026 findings weren’t a break-in at Lovable. Researchers found that thousands of apps built on Lovable left their Supabase databases readable without a login. Separately, Lovable had a platform flaw in April 2026 that exposed source code and credentials of some public projects.

Is Lovable safe to use?

Lovable is fine for prototypes and many production apps, but its terms make you responsible for your app’s data security. Check every table’s row-level security before you collect real customer data, and don’t rely on the built-in scan alone.

What is Supabase row-level security?

Row-level security (RLS) is a set of database rules that decide which rows each user can read, add, change or delete. In Supabase it’s the main thing standing between your public anon key and your users’ data.

Is the Supabase anon key supposed to be secret?

No. The anon (publishable) key is designed to be visible in browser code. That’s why row-level security matters: the key identifies your project, and RLS decides what it’s allowed to see. Secret and service-role keys must never reach the browser.

How do I check if my Supabase database is public?

Run Supabase’s Security Advisor, then query pg_tables or tables where row security is false. Finally, request each table with only your anon key, as a stranger would. If real data comes back, the table is open.

What does using (true) mean in a Supabase policy?

It means the policy allows the action for every row, with no conditions. That’s fine for genuinely public data, like a list of blog posts, but on private tables it effectively switches row-level security off.

Does Lovable's security scan catch everything?

No automated scan catches everything. Lovable’s scan is a useful first check, but loose policies, exposed views and business-logic flaws usually need a person to review the code and test the app.

About the publisher

Amar S

AI-Powered Web Developer & Digital Marketing Leader

Amar Sahni is a web development and digital marketing professional with 12 years of leadership experience. Her primary focus is AI-powered web development, combining technical skills, creative thinking, and business insight to build websites that support business goals.

AI-Powered Web DevelopmentLeadershipContent Writing +6

View full profile

Reviewed & Approved by

Inder D

Web Designer, Web Developer & AI Specialist · Reviewed November 9, 2026

View reviewer profile

Relevant experience

  • Designing and developing business websites
  • Developing and integrating AI-powered solutions
  • Creating digital marketing strategies
  • Reviewing technical content on web design, development, AI, and marketing

What Inder reviewed

  • Each claim checked against its cited source
  • The technical steps and advice
  • That every claim links to a source
Read full bio

Inder Sahni is a web designer and developer with expertise in AI development, AI integration, and digital marketing. He combines creative design with technical skills to build user-friendly websites, develop AI-powered solutions, and help businesses strengthen their online presence.

As a reviewer for AK Web Growth Agency’s blog, Inder assesses articles for technical accuracy, clarity, and practical relevance. His focus areas include web design, web development, AI, and digital marketing, helping readers understand technical topics and make informed decisions for their businesses.

Checked against the sources on this page on November 9, 2026. The review date only changes when the article is checked again.

Editorial guidelinesCorrections policy Spotted an error? info@akwebagency.com

Let's Turn Your Website Into a Growth Engine.

We design, build and look after fast, secure websites that get found and bring in enquiries. Tell us what you need and we'll plan the next step together.