Is Lovable secure? 390+ apps in my scan had a serious flaw
I scanned all 17,208 Swedish Lovable sites on .se and .nu in November. 390+ of the apps have a serious security flaw. The flaws show in the code the sites send to everyone who opens them, so anyone can find them without logging in. Based on two international studies, the real number is between 1,100 and 2,300 Swedish apps. The affected companies got an email from me before this article was published.
What I found
The scan covered 17,208 addresses. Some apps sit on several addresses, so that is 16,662 distinct apps. Of those, 7,714 fetch data from a database straight from the visitor's browser. About one in twenty of those has a serious flaw.
- The password is in the codeAnyone who knows where to look can read it and log in.
- 200+
- Anyone can change or delete dataThe data the site stores can be changed without logging in.
- 115+
- Customer data appears readableNames, email addresses or phone numbers, without logging in.
- 65+
- Uploaded files are openCVs, receipts or ID documents open for anyone who finds the link.
- 60+
A handful of apps fetch personal identity numbers or health data without a login, and some expose a secret key to another service in their code.
Behind 60+ of the apps stands a Swedish limited company. They are ordinary small businesses with real customers. A recruitment site stores applicants' files as open links, and a car repair shop does the same with the receipts for its expenses. The companies also include staffing agencies, installers, accountants and an energy company.
How I did it
When someone opens a Lovable site, the site sends the code the app needs to run in the visitor's browser. The visitor only sees text and images, but the code is open to anyone who wants to read it. That code is what I read, and nothing else. I never logged in and never sent a single query to anyone's database.
The real number is higher
The numbers above are the minimum. Anyone who goes one step further and tests the database rules will find problems on far more sites, guaranteed. On top of that, I only counted .se and .nu addresses, because the Swedish registry publishes lists of them. Many Swedish companies run their Lovable app on a lovable.app address, a .com domain or a subdomain of their main site. I didn't check those at all, and they handle data that matters just as much.
Crissy Field, who actually tested the databases, published a study of 159,041 Lovable projects worldwide in early November. In one in five projects using Supabase they could read email addresses without logging in. Security researcher Matt Palmer tested 1,645 Lovable apps in 2025 and found open databases in one in ten. If the same shares hold for the 10,816 Swedish Supabase databases in my scan, that is between 1,100 and 2,300 Swedish apps where data can be read.
What Lovable says
Lovable told the Swedish daily SvD that security is "a shared responsibility" and that site owners had been warned without acting. Its documentation says the owner is responsible for the app's security.
Lovable checks database rules automatically before an app is published. Passwords and keys in the code are only covered by the advanced check, which runs when the owner starts it. The most common finding in my scan, 200+ apps with the password in the code, falls outside what is checked automatically. Most people building in Lovable aren't developers and don't know they need to start it.
How to check and fix your app
Run the same check I used, free, at Secure your app. It reads the code your site sends to everyone who opens it and shows what a stranger can find there.
How a flaw is fixed depends on how the app is built. The same change that closes a leak can also shut off a menu, a form or a price list that should stay public. Test the whole site afterwards, or get help from someone with development experience. If a secret key has been in the code, replace it with the service, because the old one is already exposed.
If you want me to fix it for you, book a short call.
Caveats
- The scan ran in November 2026. A few companies had fixed the flaw when I rescanned in December. Most still had it.
- I didn't store any personal data.
The facts about other studies and Lovable come from SvD, PC för Alla on the Crissy Field study, Matt Palmer on CVE-2025-48757 and Lovable's security documentation.
Common questions about Lovable security
Run the security check on your address. It's free and shows the same kind of findings as this article.
No. I only read the code the sites send to everyone who opens them and never queried any database.
Your app had one of the findings in this article when I scanned it. I only emailed an address you published yourselves.
The flaws in my scan come from how individual apps are built. Lovable puts the responsibility for security on the owner, and its automatic check doesn't look for passwords or keys in the code. Run Lovable's advanced check and the security check on your app.
Want to know if your app leaks?
Run the security check for free or book a short call, and I'll go through what it finds and fix it for you.