Guide · Lovable security · Checked
Is Lovable secure? The platform, your app, and CVE-2025-48757
You can build a secure app on Lovable, but a Lovable app is only as secure as its database rules. Lovable apps usually talk to Supabase straight from the browser using a public anon key, and Row Level Security (RLS) policies are what stop strangers reading or changing your data. In 2025, CVE-2025-48757 recorded that Lovable projects created through 15 April 2025 could ship with missing or weak RLS, letting unauthenticated visitors read or write tables. Lovable disputes the CVE, saying each customer is responsible for their app's data. Either way, the fix is in your project: check RLS on every table, keep secret keys out of the browser, and run a security scan before launch.
Disclosure: ChikuOS sells some of the options below, and they're labelled "ChikuOS". No vendor paid to be listed or placed, and we earn no commission or affiliate fee from any link on this page. Prices and features of other products are as listed on their own sites on 16 November 2026; follow the links to check current terms.
Ways to check a Lovable app's security (as described by each provider)
How we chose and ordered these: This is an explainer, not a ranking. Facts about CVE-2025-48757 are from the CVE record and the researcher's write-up; facts about Lovable's features and the 2026 TanStack Start issue are from Lovable's own pages. Options are listed free first, then by price. How we compare.
| Option | What it checks | Price | Good fit when |
|---|---|---|---|
| Lovable's built-in Quick and Deep scans | Quick scan on every publish (database rules, npm dependencies, MCP exposure); Deep scan of your code on demand | Free, no credits (Lovable docs, checked 28 October 2026) | Every project, before every publish |
| Free URL scanners | Exposed keys, headers and some public-table checks from your live URL | Free tiers | A quick second opinion from outside |
| ChikuOS AI Site Audit | A developer reviews your live app from outside: Supabase RLS from the anon key, exposed keys, server-side auth, headers | $49, 24 hours | You want findings ranked and explained by a person |
| ChikuOS Supabase Data-Leak Check | Every table's RLS policies reviewed, anon read/write test on your project, storage and RPC exposure | $99, 2–3 business days | Your app stores user data in Supabase |
What CVE-2025-48757 was
The CVE record, published in May 2025, describes an insufficient Row Level Security policy in Lovable through 15 April 2025 that let remote unauthenticated attackers read or write arbitrary database tables of generated sites. It carries a CVSS 3.1 score of 9.3 (critical) from MITRE. The researcher who reported it, Matt Palmer, explains the mechanism: Lovable front ends call the database's REST API directly with the public anon key and rely entirely on RLS, so a table with missing or loose policies can be queried by anyone who copies that request. The record notes that Lovable disputes it, on the basis that each customer is responsible for protecting their own application's data.
Newer issue: CVE-2026-102989 in TanStack Start (September 2026)
CVE-2025-48757 was about the database rules in each project. The newer issue was in framework code that Lovable apps run on. On 30 September 2026, Lovable published that its security team found CVE-2026-102989, a vulnerability in TanStack Start, on 14 September 2026 and reported it to the TanStack maintainers the same day (Lovable's post). Lovable says a specially crafted link could make an affected app run unwanted JavaScript in a visitor's browser, with that visitor's access in the app. An attack needed both the affected server functionality and a visitor opening the link, and Lovable says it found no evidence of exploitation.
- Hosted on Lovable: Lovable added firewall rules to block exploit attempts, its agent upgrades TanStack Start on your next change, or you can apply the fix from your project's Security page at no credit cost. New projects start on the patched version, and Lovable says it emails owners of affected projects.
- Hosted somewhere else (for example after exporting to Vercel, Netlify or Cloudflare): Lovable says its hosting protections don't cover that deployment, so apply the upstream TanStack Start update and redeploy yourself.
The lesson matches the RLS one: Lovable can protect its own hosting, but anything you deploy yourself, framework updates included, is yours to keep patched. Facts from Lovable's post, re-checked 7 November 2026.
Updated : Lovable's TanStack Start post still matches the summary above.
Platform security vs your app's security
Whether "Lovable is secure" depends on which part you mean. The platform hosts and builds your code. Your app's data rules, which tables exist, who can read each one and which keys are in your front end, are part of your project, and you can change them. That's why the same platform can produce one app that's locked down and another that leaks. Lovable's built-in security scan helps, and it's worth running before every publish. Our comparison of Lovable's scan and a paid audit covers what it does and doesn't check, and our Lovable app security audit page shows what a human review of the live app adds.
What the November 2026 Crissy Field study found (and what it didn't)
On 2 November 2026 the Hamburg security firm Crissy Field, working with Handelsblatt, published a study of 159,041 Lovable projects found via Common Crawl (December 2025 to September 2026). 34,545 of them use Supabase. 24,664 sites loaded Supabase records on first page load without a login, which on its own isn't a problem, since some data is meant to be public. With extra read-only requests using the same public key, 7,403 of those 24,664 sites (30%) returned records containing email addresses, across 10,560 tables.
The firm says 30% is not a confirmed leak rate, and the Common Crawl sample isn't representative of all Lovable apps. What it does show: a public key plus a table with RLS off or a loose policy is enough to read data. Supabase's docs say to "enable RLS on every table in an exposed schema". To check yours, see the RLS Disabled in Public fix guide or the Supabase Data-Leak Check.
Five checks for your own Lovable app
- RLS on every table. In the Supabase dashboard, every table in the public schema should have RLS enabled.
- No "true" policies on private data. A policy whose condition is just
truelets everyone through. Private rows should be limited to their owner, for example by comparing a user_id column withauth.uid(). - No service_role key in the browser. Search your built JavaScript for
service_roleorsb_secret_. That key bypasses RLS and must only be used on a server. - Storage buckets. Buckets holding user files shouldn't be public.
- Test signed out and as a second user. Open the app in a private window and with a second test account, and check you can't see the first account's data.
Our free Supabase exposure checker runs the signed-out part of this in your browser for a project you own. If it finds tables with RLS off, follow how to fix RLS disabled in public. To see what a written human review covers, read our sample report, a real check of our own site with each finding's evidence and fix.
FAQ
Is Lovable safe to use?
Yes, as a platform to build on, provided you secure your app's data. Most Lovable security problems come from missing or weak Row Level Security policies in the app's Supabase database, which you control.
What is CVE-2025-48757?
A CVE published in May 2025 describing insufficient Row Level Security in Lovable-generated projects through 15 April 2025, which could let unauthenticated visitors read or write database tables. Lovable disputes it, saying customers are responsible for their app's data.
Does Lovable check security for me?
Partly. Lovable has two free built-in scans that don't use credits: a Quick scan that runs automatically when you publish and checks your database access rules, npm dependencies and MCP server exposure, and a Deep scan you run on demand that reviews your code for access-control, injection, secrets, payment and sign-in flaws. Lovable's docs (checked 28 October 2026) say the scans can't guarantee complete security, so also test your database rules signed out and as a second user.
Do Lovable's automatic tests check my app's security?
Only partly. Since 16 October 2026, Lovable adds a small test when you add or change a rule in your app, such as a price, a limit or a permission, and runs it before reporting the work as done. Its testing docs (checked 1 November 2026) say these tests cover your app's frontend, plus backend logic in new apps created from 13 May 2026, and that edge function tests are written only when you ask. A passing test shows the rule works as the AI intended, not that a stranger can't read your database, so still check RLS signed out and as a second user.
Was my Lovable app affected by the TanStack Start vulnerability (CVE-2026-102989)?
Not necessarily. Lovable says not every project was affected and that it emails the owners of affected ones. For apps hosted on Lovable, it added firewall rules and installs the patched TanStack Start on your next change, or free from the Security page. If you host the app yourself, Lovable's protections don't apply: update TanStack Start and redeploy. Source: Lovable's blog, 30 September 2026, re-checked 7 November 2026.
Can people see my Lovable app's database?
If a table has RLS disabled or a policy that allows everyone, anyone with your public anon key, which is visible in your app's JavaScript, can read it. With correct RLS policies, they can't.
How much does a Lovable security audit cost?
Lovable's scan is included with Lovable and several URL scanners have free tiers. Our human-reviewed audit is $49 and the Supabase Data-Leak Check is $99, as listed on 18 October 2026.
How this guide was made: researched and drafted with AI assistance, then every price and claim was checked against the linked source on 16 November 2026. Editorial responsibility: ChikuOS. Spotted something out of date? Email hello@chikuos.com and we'll correct it.