A curious user is reading their last invoice from your store. The URL says /invoice/4821. On a hunch, they change it to /invoice/4822. The page loads. It is not their invoice. It is the next customer's: name, address, items, total. They try 4823. Same thing. They take a screenshot and post it. By the time you see it, the post has 2,000 shares and three of your customers have emailed asking to delete their accounts. This is BOLA, the same class of bug that took Lovable, a $6.6 billion platform with 8 million users, 48 days to address in 2026. If a company that size can let it sit, the apps built on top of these platforms get even less attention.
What this looks like in a real app
The bug above has a polite name: IDOR (Insecure Direct Object Reference) or BOLA (Broken Object Level Authorization). The simple version is: your app trusts the ID in the URL or in the API call and forgets to check if the user asking is the user who owns the data. AI tools build apps this way by default, because when you describe the feature you describe what the user can do, not what they must not do. Wherever you have an ID in a URL or in a request body (an invoice, a message, a profile, a shared document), the same gap can be present.
What happened
In 2026, security researchers reported three documented security incidents at Lovable, the AI app-building platform valued at $6.6 billion and used by roughly 8 million people. The most recent one was a BOLA vulnerability (Broken Object Level Authorization) that exposed source code, database credentials, and thousands of user records. The company received the bug bounty report, closed it without escalating, and the issue stayed open for 48 days before being addressed publicly. Source: The Next Web