Toutes les vulnérabilités
CRITICALAI/LLM

CVE-2025-48757

AI coding · Lovable

Résumé

Lovable, an AI vibe-coding platform, generated Supabase/PostgreSQL database schemas without enabling Row Level Security (RLS), leaving generated apps with no row-level access control. CVE-2025-48757 confirmed over 170 production applications were exposed, allowing any anonymous user with the public API key visible in browser developer tools to read and modify all rows, exposing emails, auth tokens, private messages, and financial records. Researcher Matan Getz identified the pattern; Lovable updated its code-generation pipeline to include RLS, but existing apps remained vulnerable unless owners manually enabled it.

Comment l’éviter dans votre code

  • Patch via the updated Lovable pipeline and manually enable Row Level Security on all existing apps.
  • Audit every Supabase/Postgres table for RLS and deny-by-default policies.
  • Assume the public anon API key is attacker-visible; enforce authorization server-side.
  • Test anonymous access against every endpoint before release.
  • Rotate any exposed auth tokens and secrets found in leaked rows.

Références

Vulnérabilités liées

Tout AI/LLM →