Lovable BOLA flaw left older projects readable for 48 days after it was reported
Summary
A researcher (@weezerOSINT, Matt Palmer per Computing) reported a Broken Object Level Authorization flaw in Lovable's API through HackerOne on March 3, 2026. Any logged-in free account could request other users' project data, including source code, credentials and AI chat histories. Lovable added ownership checks for projects created after November 2025, but older projects were still reachable when the researcher disclosed the issue publicly 48 days later. Lovable first said it 'did not suffer a data breach', then acknowledged a February 2026 regression and closed off chat access on public projects.
Severity
Timeline
Per Lovable, a backend permissions change accidentally re-enabled access to chats on public projects.
Report filed through Lovable's HackerOne program; closed as a duplicate.
Ownership checks shipped for newly created projects only. A follow-up report was also closed as a duplicate.
Public disclosure on X by @weezerOSINT, 48 days after the first report.
Lovable says it did not suffer a data breach, then acknowledges the February regression, reverts it and makes public-project chats private.
How it happened
The /projects/{id} endpoints checked that the caller was logged in but not that they owned the project. That is the classic BOLA pattern, #1 on the OWASP API Security Top 10. Lovable's account is that HackerOne triage read the behavior as intended and closed the reports without escalating them; it said 'We'll do better.' Lovable still describes source visibility on projects marked public as intended.
How to check your app
- If you have a Lovable project created before November 2025, check whether it is set to public and switch it to private if it should not be.
- Rotate any secrets that ever appeared in code or in chat with the AI on that project (Supabase service keys, Stripe keys, API tokens).
- In your own app, test every endpoint that takes an ID: log in as user A and request user B's record. You should get 403 or 404.
Sources
- Computing: Lovable flaw exposed source code, credentials and AI chats
- Cyber Kendra: Lovable left thousands of projects exposed for 48 days
- Cybersecurity Times: Lovable API flaw
Corrections and updates
Changed 'older projects stayed reachable until the issue was disclosed' to 'were still reachable when it was disclosed'. Sources do not say access ended at disclosure.
Added Lovable's first response that it 'did not suffer a data breach', and dated the public disclosure to Apr 20, 2026.