← Back to What AI broke

AI-written code · critical · 29 May 2025

Apps generated by Lovable shipped without row-level security, exposing their databases

The database rules in Lovable-generated apps let unauthenticated visitors read or write arbitrary tables. The researcher reported it on 2025-03-21 and published after about 45 days without a fix.

AI system
Lovable
Affected
Sites built with Lovable; a scan found 303 insecure endpoints across 170 of 1,645 projects
CVE
CVE-2025-48757
Status
patched
Evidence
Primary (vendor advisory, filing or court record)

Why it qualifies

The insecure code was generated by the AI app builder, and the CVE record attributes the flaw to the generated sites.

Sources