An open Supabase table in your Lovable app can be a GDPR breach to report in 72 hours

Ulf Aslak Lai photo Ulf Aslak Lai Published 17 Nov 2026 AI drafted 9 min read
An open Supabase table in your Lovable app can be a GDPR breach to report in 72 hours

A German lifestyle forum built with Lovable, a Swedish tool that writes a whole web app from a chat prompt, left more than 80,000 member profiles and over 200,000 private chat messages readable by anyone who opened its website. It was one of 24,664 Lovable apps that the Hamburg security firm Crissy Field found sending records from their Supabase database to every visitor, without a login. Among them were more than 1,000 records with passport numbers and tens of thousands of ticket and food orders with addresses and payment information. No one broke into Lovable or Supabase to get this: each app had a database table that answered every visitor, and apps built on Supabase with other tools can have the same open tables. The study names none of the apps, so an owner can only find out by checking the table rules, which Supabase calls Row Level Security. Under GDPR, an open table is the responsibility of the person who runs the app. They have to close it and write down what happened. If it held something like passport numbers or private messages and the logs cannot show that nobody read it, the safer course is to report it to their national data protection authority within 72 hours.

What did the study find in Lovable apps?

Crissy Field found 159,041 Lovable apps in a public archive of the web, published from December 2025 to September 2026. Of the 34,545 that used Supabase, 24,664 loaded database records without a login. Some of that is harmless public content, such as a product list. In about 30% of those sites, the records included email addresses, a sign (though no proof) of personal data. The researchers read only parts of each dataset and say they could not tell whether anyone had misused the data.

The same problem shows up well beyond Lovable. UpGuard's September 2026 study of Supabase apps found 16,326 Supabase databases with readable tables across sites built with all kinds of tools, and 55.8% of them exposed some kind of personal information.

Does your legal documentation match what you ship?

Lawcel watches your product changes and flags the moment your terms or privacy policy fall out of sync, then proposes the edits for your team to approve and publish.

Get started

Why could anyone read these databases?

Supabase protects each table with Row Level Security: a set of rules on the table that says which rows a given visitor may read or change, such as "your own orders" or "only messages in conversations you are part of". A table without those rules has no such limit.

That matters because Supabase lets the web page talk to the database directly. To do that, the page carries a key, which Supabase calls the publishable key (older projects call it the anon key). It sits in the code that every visitor's browser downloads, so everyone has it. Supabase's API key documentation says so plainly: "Anyone can read it, so it only reaches what Row Level Security allows."

I think that design is sound: Supabase built the key to be public and put the protection in the table rules. It also means the table rules are the only protection, and someone who builds by chatting with Lovable may never open the Supabase dashboard where a missing rule would show. Supabase's Row Level Security guide says a table without it is "readable and writable" by anyone the database lets through, and in projects created before 30 May 2026 every new table let every visitor through by default. So such a table can be read, and changed, by anyone who opens the app.

Supabase and Lovable have each changed something since:

  • Supabase changed the default, for new tables only. A table that was open before 30 October 2026 is still open. New projects stopped exposing new tables to the page on 30 May 2026, and existing projects followed on 30 October, but the Supabase changelog entry says existing tables "keep their current grants and stay reachable".
  • Lovable scans before publishing. Lovable's security documentation says its quick scan runs every time an app is published and flags tables without Row Level Security. It does not stop a publish unless a workspace admin has turned on the setting "Block publishing with critical issues".

Who is responsible under GDPR when a Lovable app leaks?

The person or company that runs the app, and Lovable's documentation says so directly: "You are responsible for ensuring that your app meets the security requirements" of its use case. In GDPR terms the owner is the controller, the one who "determines the purposes and means of the processing of personal data" 1. Lovable wrote the code and Supabase hosts the database, but they do it on the owner's behalf, under the settings the owner's project has. GDPR applies when the owner is established in the EU or offers the app to people there 1.

Article 32 requires the controller to protect personal data with "a level of security appropriate to the risk", including "a process for regularly testing, assessing and evaluating" whether those protections work 1. A table of passport numbers that answers every visitor breaks Article 32 even if nobody ever reads it. The maximum fine for breaking Article 32, or the breach reporting rules below, is 10 million euros or 2% of worldwide annual turnover, whichever is higher 1.

Is an open database table a personal data breach?

My answer, which no regulator has confirmed: if the table held data that would hurt people if read, such as identity documents or private messages, and was open long enough for a web crawler to find the app, an owner who cannot show from logs that nobody read it should treat it as a breach and report it. For a table of newsletter sign-ups, a written record and the fix may be enough. If the table was also writable and someone changed or deleted rows, that is a breach too, because GDPR's definition covers "alteration" 1.

The law turns on whether someone read the data. GDPR defines a personal data breach as "a breach of security leading to the accidental or unlawful destruction, loss, alteration, unauthorised disclosure of, or access to, personal data" 1. In the closest example in the breach guidelines of the European Data Protection Board (EDPB, the EU's privacy regulators acting together), a hosting company's code means "any user can access the account details of any other user", and its customers must report. But the EDPB notes that "if there is no evidence of this vulnerability being exploited", a notifiable breach "may not have occurred but it is likely to be recordable or be a matter of non-compliance under Article 32" 2.

The evidence is the problem. Supabase keeps API and database logs for 1 day on the Free plan and 7 days on Pro, so for a table that was open for months, the logs cover the last day or week at most. Without those logs, the owner has to judge the risk without evidence either way.

Once the controller has "a reasonable degree of certainty" that an incident has compromised personal data, the EDPB counts it as aware, and the 72 hours run from there. A short investigation to establish the facts is allowed first 2. The controller reports unless the breach "is unlikely to result in a risk" to the people affected, and can send details in phases while it is still finding them 1. Either way, Article 33(5) requires a written record of every breach, including the ones that are not reported 1. I wrote more about the 72 hours in my post on AI agents reaching data past their permissions.

When do the users have to be told?

When the breach is "likely to result in a high risk" to them, the controller must tell each affected person, without undue delay, in plain language. Where contacting each one would take disproportionate effort, a public notice can replace it 1. The EDPB lists the kinds of data that raise the risk on their own: "health data, identity documents, or financial data such as credit card details", and says that together they can be used for identity theft 2.

For the apps in this study, passport numbers meet that bar. Private messages on a forum about people's personal lives very likely do. Payment information depends on what was stored: a card number would meet it, while a payment status or a reference ID from a payment provider probably does not. A waiting list of email addresses on its own usually does not, though it still has to be recorded and assessed.

What should you do if you built an app on Lovable or Supabase?

If you run an app built with Lovable, or any app whose web page reads from Supabase directly, and it stores anything about people, do these in order.

  • Find every open table. In the Supabase dashboard, check that every table in the public schema (the tables the web page can reach) has Row Level Security turned on, with rules that limit each visitor to the rows they should see: their own, or rows meant to be public. A clean page in a signed-out browser window proves nothing, because an open table answers anyone who has the key. If you use Lovable, also run its deep scan, which checks your app's code for access mistakes as well as the database.
  • Close it, then save the logs. Turn on Row Level Security for any open table holding personal data. Then export whatever logs Supabase still holds before they expire, because they are your only evidence of who read the table.
  • Write the record. Note which tables were open, since when, what kind of data, roughly how many people, and what you changed. Article 33(5) requires this whether or not you report.
  • Decide on reporting within 72 hours. If you treat it as a breach, count the 72 hours from when you confirmed the table was open and held that data. If someone else may have read data that could harm people, such as identity documents, card numbers, health data or private messages, I would report it to the data protection authority of the EU country where you are established, and tell the affected users. Send what you know and add the rest in phases. If the risk to people is unlikely, keep the record and write down why you did not report.
  • Make the check part of publishing. If your Lovable workspace has the setting "Block publishing with critical issues", turn it on. If it does not, fix every critical finding the quick scan reports before you publish.

FAQ

The EDPB says that with no evidence the flaw was used, a reportable breach may not have occurred, though it is likely recordable or an Article 32 failure. Short logs make that hard to judge.
No. Whoever decides why and how the app uses people's data is the controller under GDPR. Lovable's own documentation says the app's security is your responsibility.
Only for new tables. New projects got the safer default on 30 May 2026 and existing projects on 30 October. Tables that already existed keep their access and stay reachable.
The data protection authority of the EU country where your business is established. If you have no EU establishment, each authority for the countries where affected people live.
Yes, when the breach is likely to put them at high risk. Passport numbers and private messages usually meet that bar. For payment data it depends on what was stored.

References

  1. Regulation (EU) 2016/679 (General Data Protection Regulation) - accessed 17 Nov 2026
  2. EDPB, Guidelines 9/2022 on personal data breach notification under GDPR, version 2.0, adopted 28 March 2023 - accessed 17 Nov 2026

About the author

Ulf Aslak Lai

Ulf Aslak Lai

Co-founder, Chief Technology Officer

Ulf is Co-founder and CTO at Lawcel. He leads engineering architecture for connectors, analysis pipelines, and the safeguards needed when automation touches regulated customer content.

  • Platform architecture
  • Data governance
  • ML/AI systems
Drift

Your Lovable app needs a privacy policy at the first sign-up.

If you built your product in Lovable, connect the GitHub repository Lovable already syncs to, then turn on direct-push analysis in Lawcel. There is no Lovable plugin for Lawcel and none is needed. We read each push Lovable makes, tell you what your Privacy Policy has to say now that the app collects what it collects, and draft a first document if you do not have one yet.

GDPR

GDPR counts an AI agent reading personal data past its permissions as a breach

When an AI agent reaches personal data that it, or the user it acts for, is not authorised to reach, GDPR counts it as a personal data breach, with or without an attacker. If your customer is the controller of that data, tell them without undue delay, before judging how serious it is. If you are the controller, notify your regulator within 72 hours of becoming aware, unless risk is unlikely.

GDPR

Hash stored passwords and keep them out of your logs. France fined an insurer 5 million euros.

France's data protection regulator, the CNIL, fined a life insurer 5 million euros on 12 November 2026 for storing 1.8 million customer passwords in plain text, some copied into a login log, although none were reported stolen. In the CNIL's reading of GDPR, passwords may be stored only as a salted, slow hash, and no log may keep them, including request logs and error trackers.

GDPR

Rate-limit the APIs that return customer data. Italy fined Wind Tre 1.7 million euros partly for not doing so.

Italy's data protection regulator fined the mobile operator Wind Tre 1,715,600 euros after attackers used one shop's login to send about 2 million requests to an API with no request limit and copied 365,048 customers' records. The regulator says sensitive APIs, such as those returning customer records, need a request limit and belong in the company's security tests.