Short answer: Lovable the platform takes security seriously, and its built-in scans catch many common problems. But the platform being secure is not the same as your app being secure. Lovable's own documentation says its tools "cannot guarantee complete security" and that you are "responsible for ensuring that your app meets the security requirements appropriate for its use case" (Lovable docs). The most common way Lovable apps leak data is still the database rules, and a scan passing doesn't prove those rules are right.
This guide explains what Lovable checks for you, where the real gaps are, and how to test your own app in about 20 minutes before you invite real users.
Why people are asking
Two public incidents made "is Lovable safe?" a common question:
- CVE-2025-48757 (2025). Security researcher Matt Palmer found that many Lovable-generated apps had missing or weak Row Level Security (RLS) on their Supabase databases. Anyone with the app's public key could read, and sometimes write, whole tables. His write-up counts 170+ affected projects and 303 vulnerable endpoints, with data such as emails, phone numbers, payment status and third-party API keys exposed (Matt Palmer, Superblocks summary). Lovable disputes the CVE, saying each customer is responsible for protecting their app's data (cvefeed).
- A showcased app in February 2026. A researcher reported 16 vulnerabilities in an app featured on Lovable's Discover page, with 18,697 records exposed. Lovable responded that its pre-publish scan had flagged issues, that fixing them was up to the app's creator, and that the vulnerable code wasn't Lovable-generated (The Register).
Both stories point the same way. The platform gives you tools and warnings, and the app owner has to act on them. That isn't a Lovable-only problem either: a scan of 5,600 public apps built with several AI tools found more than 2,000 vulnerabilities and 400+ exposed secrets (Escape).
What Lovable checks for you (as of late 2026)
Lovable has two scans, both reached from the Security view in your project (Lovable docs):
| Scan | When it runs | What it looks at |
|---|---|---|
| Quick Scan | Automatically every time you publish, or on demand | Database review (access rules, row-level security, password protection), npm dependencies with known vulnerabilities, MCP servers exposed without authentication |
| Deep Scan | Only when you start it (or on publish for apps with unauthenticated MCP access) | Access control and authorization, abusable endpoints, injection, leaked secrets, payments and billing, authentication, exposed personal data |
Lovable also warns you when you paste an API key into the chat, and offers optional integrations with Wiz and Aikido for deeper testing.
That's a good set of tools, and you should use all of it. Run a Deep Scan before every launch. It does not run by itself.