Case · DiggingBeagle record

A scan of 1,645 Lovable projects found 170 with inadequate database RLS

Matt Palmer reported 303 inadequately protected Supabase endpoints across 170 of 1,645 analyzed Lovable projects. The technical boundary was Row Level Security behind direct browser-to-database access; attribution of responsibility to the platform remains disputed.

Scope

Palmer's research covered publicly discoverable Lovable projects, primarily from Lovable Launched, plus a later Linkable follow-up. The broader scan inspected homepages and altered observed Supabase requests rather than exhaustively testing every application surface. It is not a census of all Lovable applications and does not establish a victim or exploitation count.

UnratedAI role: BY AIAssessment method

At a glance

Mechanism and trust boundary

  1. 01

    A generated frontend calls Supabase directly

    The browser contains the public anon credential and makes direct REST requests to the application's Supabase backend.

    Boundary: browser / database API

  2. 02

    The attacker bypasses the generated interface

    A user modifies an observed request, changes selection or request context, or targets another exposed table rather than following the controls presented by the UI.

    Boundary: frontend intent / backend request

  3. 03

    Insufficient RLS accepts the request

    A missing or overly broad row-level policy permits data access or modification that the application intended to restrict.

    Boundary: database policy / protected rows

Timeline

  1. Mar 20, 2025
    discovery

    Initial Linkable issue discovered

    Palmer reports discovering unrestricted access to the Linkable users table.

  2. Mar 20, 2025
    occurrence

    Occurrence began

  3. Mar 21, 2025
    Event type unspecified

    Broader Lovable scan completed

    The scan reported 303 inadequately protected endpoints across 170 of 1,645 analyzed projects.

  4. Mar 21, 2025
    notification

    Vendor notified

  5. May 29, 2025
    disclosure

    Palmer published the coordinated disclosure

    The statement and CVE write-up documented the RLS mechanism and follow-up Linkable write test.

Claims & evidence

CLM-LOVABLE-170Palmer reports that a March 21, 2025 scan identified 303 endpoints across 170 of 1,645 analyzed Lovable projects with inadequate Row Level Security settings.supported

Basis: reported finding

  • supports
    Statement on CVE-2025-48757primary disclosure

    Automated Scan Findings, reporting 303 endpoints across 170 projects, approximately 10.3% of 1,645 analyzed

Link to claim
CLM-LOVABLE-WRITEIn a May 2025 Linkable follow-up, Palmer reports that an unauthenticated request could insert a record with payment_status set to paid, demonstrating an integrity impact in addition to read exposure.supported

Basis: reported finding

Link to claim
CLM-LOVABLE-DISPUTEDThe public CVE record describes insufficient RLS allowing unauthenticated reads or writes but records the issue as disputed because Lovable says customers are responsible for protecting their application data.supported

Basis: direct observation

Link to claim
CLM-LOVABLE-ESCAPE-CONTEXTA later Escape study of more than 5,600 publicly available vibe-coded applications across several platforms reported more than 2,000 vulnerabilities, 400+ exposed secrets and 175 instances of exposed PII. Lovable accounted for roughly 4,000+ applications in Escape's initial platform coverage, but Escape explicitly warns that its one-time dataset has sampling, temporal and platform-imbalance bias. The study therefore corroborates the broader class of exposed backend and authorization failures without providing a directly comparable Lovable-specific prevalence estimate.supported

Basis: reported finding

Link to claim

Implications

The useful AI-security lesson is not that a public Supabase anon key is inherently a secret leak. It is that AI app builders can produce a working interface while the effective authorization policy lives elsewhere. Secure-by-default generation, backend policy tests and explicit ownership rules matter more than whether the UI hides an action.

Controls and mitigations

  • Treat Row Level Security as server-side authorization and test anonymous, authenticated and cross-user requests directly against each sensitive table.
  • Verify the semantics of RLS policies rather than checking only that a policy exists; ownership and role predicates must match the application's actual business rules.
  • Keep service-level credentials and sensitive server operations outside browser-accessible data paths, while recognizing that server-side placement does not replace authorization checks.

Unknowns and contradictions

  • The 1,645-project sample was not a census of all Lovable applications and was drawn from discoverable public projects.
  • The disclosure does not establish how many projects were exploited by malicious third parties.
  • The CVE's platform-level responsibility remains disputed.
  • The March 2025 prevalence should not be treated as a current 2026 prevalence estimate after later platform and user changes.

Sources and citation

Material revision history

  1. Oct 7, 2026 · Canonical change recorded · new in release · revision 94