Lovable Apps Left Passports and Private Chats Open. No Exploit Required.

Lovable App Leaked Private Data, No Exploit Required

Passport numbers, private chat messages and tens of thousands of contracts and invoices were all readable without a login in apps built on Lovable, the AI app builder.

That's what Hamburg security firm Crissy Field found in its research on apps built with Lovable, conducted with Handelsblatt, which first reported the findings on November 2. Nobody hacked anything, the data was simply there for anyone who asked.

In short, the researchers examined 159,041 Lovable projects and found records containing email addresses, readable without a login, in 10,560 tables across 7,403 sites. Their full report covers the methodology and is worth reading.

The examples are the kind of data nobody intends to publish:

  • More than 1,000 identity-document records at one service provider, including passport numbers, expiration dates and nationalities.
  • More than 80,000 profiles with names, emails, dates of birth and gender at a German lifestyle forum, plus more than 200,000 chat messages.
  • Tens of thousands of ticket and food-sale records at event organizers and restaurants, including contact details, payment information and ticket codes.
  • AI-generated summaries of internal emails about tenants, owners and business partners at a property management company.
  • Tens of thousands of contracts and invoices, personal photo albums and internal WhatsApp communications.

The researchers are careful not to overstate the findings. An email address in an open table doesn’t prove a leak, because some of those addresses may be public contacts or test data. The count may also be low. Tables without email addresses weren’t included, and the team downloaded only part of each dataset. They didn’t publish how to access the data, and they couldn’t determine whether any of it had been misused.

Even read conservatively, the finding is hard to ignore: sensitive data was sitting one web request away from anyone who knew where to look.

No zero-day required

None of this required a software exploit. Supabase makes database data available to an application through an API, and the client key the browser uses is designed to be public. The control that keeps one user from reading another user's data is PostgreSQL Row Level Security: policies that must be enabled and correctly written for each table.

When those policies are missing or misconfigured, the data can be read by anyone using the same public key the app hands to every visitor.

A related Lovable access-control issue was documented in 2025 as CVE-2025-48757. In a Hacker News discussion of the new research, Lovable's head of security identified insufficient Row Level Security as the root cause in the affected apps and pointed to the platform's pre-publish security scan.

Lovable's own platform wasn't breached. What the research shows is what happens when the only barrier protecting a database table is a policy someone has to remember to create, configure and verify.

The second Lovable lesson this year

In April, we wrote about an earlier Lovable incident in which a researcher found project data across many accounts accessible to unauthorized parties, and Lovable initially described the behavior as intentional.

The mechanism is different this time, and as Crissy Field notes, access-control mistakes happen in any application, whether written by people or built with AI.

The problem is scale. Lovable's database integrations follow recurring patterns, so an approach that works against one app may work against many others with little extra effort. An attacker doesn't need to find a new weakness each time.

Whose job is security?

Lovable's marketing repeatedly says no technical knowledge is needed to build an app. Its terms place responsibility for applications and data handling on the customer. Crissy Field calls that a troubling gap, and it's a fair description. Most development platforms put security on the customer, but few market themselves on the customer not needing to be technical.

The people building these apps may be restaurant owners, event organizers, property managers and small service businesses. Asking each of them to audit Row Level Security policies table by table asks them to master the exact discipline the tool was meant to abstract away.

Lovable has added scanning, and that's useful. A scan can flag known misconfigurations before an app is published. But as the researchers put it, automated checks are no substitute for a professional security assessment. And a scan doesn't change the underlying risk: a passport number stored in plaintext is still one missed or regenerated policy away from exposure.

Encryption as the backstop to access control

Every application needs access controls. Row Level Security should be enabled, tested and reviewed whenever an app changes.

But it shouldn't be the only thing standing between a database mistake and a customer's passport, contract or medical record.

Access-control rules can be forgotten, misconfigured or overwritten by the next AI-generated change. End-to-end encryption limits the consequence of that failure. If the application database holds a reference to an encrypted file rather than the document itself, a missing policy doesn't hand an attacker the document.

The practical version for anyone building on Lovable or a similar tool:

  • Test every table as an unauthenticated visitor using the public client configuration. If you can read data without logging in, so can someone else.
  • Run Supabase's Security Advisor and Lovable's security scan before every publish, and get a qualified review of access permissions before the app handles real customer data. Repeat both after significant changes.
  • Keep the most sensitive files out of your application database. Passports, IDs, contracts, financial documents and medical records don't need to live beside user profiles and application data.

Where SendSafely fits

That last point is where SendSafely fits, and it doesn't require rebuilding your app.

A SendSafely Dropzone, or a form built with our Custom Form Builder, embeds in your app like any other form. When a customer uploads a passport or a contract, the file is encrypted in their browser before it leaves the page. SendSafely uses split-key encryption: part of the key is generated in the browser and never reaches our servers. Your app's database stores a reference to the submission, not the document.

That changes what a misconfiguration costs. If a Row Level Security policy goes missing in your Supabase project tomorrow, an attacker can read the rows that are there. The passport won't be among them, because it lives outside the database your next AI-generated change can touch.

The people submitting files don't need an account or any software. Your team reviews submissions in SendSafely, with an audit trail of who accessed what, and can delete a submission once the work is done. The platform is independently pen tested, SOC 2 Type II, and HIPAA compliant, so the most sensitive part of your app doesn't have to start its security review from zero.

The Bottom Line

Vibe coding made building software faster, but access control still takes deliberate work.

The safest place for your customers' most sensitive files is somewhere a missed setting can't expose them.

If your team is collecting sensitive files through AI-built apps, request a demo to see how SendSafely adds end-to-end encrypted file collection to your workflow.

 


 

SendSafely: Integrated File Transfer for the Apps you Love

If you are looking for a secure way to send or receive files with anyone, or simply need a better way to transfer large files, our platform might be right for you.