CVE-2025-48757 Details
Description
An insufficient database Row-Level Security policy in Lovable through 2025-04-15 allows remote unauthenticated attackers to read or write to arbitrary database tables of generated sites. NOTE: this is disputed by the Supplier because each individual customer of the Lovable platform accepts a responsibility over protecting the data of their application.
A vulnerability exists in Lovable projects deployed through April 15, 2025, due to inadequate default Row-Level Security (RLS) policies. This flaw enables remote, unauthenticated attackers to read from or write to arbitrary database tables via direct client access to database endpoints, using the unprivileged 'anon' key. The vulnerability arises because the default RLS configurations do not align with the necessary security requirements, particularly for tables containing sensitive information. As a result, attackers can exploit these public Postgres endpoints to access Personally Identifiable Information (PII), credentials, and financial data, or inject malicious data into the database.
Users are advised to review and enforce proper RLS policies in their databases. This includes enabling RLS on all tables, defining granular RLS policies that adhere to the principle of least privilege, and regularly auditing RLS configurations to ensure they remain effective. For tables with sensitive and non-sensitive data, separate tables should be used or server-side technologies implemented to manage access control.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 30, 2025CISA-ADP
Assessed Jun 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/lhchavez/625ee42a6c408a850d35e50f8e649de9 | CISA-ADP | AdvisoryRemedyTechnical Description |
| https://docs.lovable.dev/changelog | [email protected] | Release NotesVendor |
| https://gist.github.com/lhchavez/625ee42a6c408a850d35e50f8e649de9 | [email protected] | AdvisoryRemedyTechnical Description |
| https://mattpalmer.io/posts/CVE-2025-48757/ | [email protected] | AdvisoryRemedyTechnical Description |
| https://mattpalmer.io/posts/statement-on-CVE-2025-48757/ | [email protected] | |
| https://x.com/danialasaria/status/1911862269996118272 | [email protected] | ExploitMedia Coverage |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Lovable | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 21, 2025 | CVE Modified | [email protected] |
| Jun 25, 2025 | CVE Modified | CISA-ADP |
| Jun 11, 2025 | CVE Modified | [email protected] |
| May 30, 2025 | New CVE Received | [email protected] |
Volerion