Urgent.News

What's breaking now, across hundreds of outlets.

Tech

The 2026 Firebase Leaks Weren’t Hacks: They Were Open Doors

Discover how Firebase security misconfigurations exposed millions of user records in 2026.

The 2026 Firebase Leaks Weren’t Hacks: They Were Open Doors

In February 2026, a researcher disclosed that they accessed 300 million private chat messages from over 25 million users of an AI app. This was not due to a hack, but rather because the database was improperly configured. The issue was widespread: when scanning iOS apps for the same vulnerability, 103 out of 200 applications exhibited the same flaw. The researcher explained that if developers utilize Firebase, this article addresses the critical locks required for AI features.

The researcher noted that the repeated Firebase leaks were not the result of clever hacking, but rather open doors caused by misconfigurations. Firebase Security Rules were left public, granting anyone with the project URL the ability to read, modify, or delete data. After the disclosure, the developer fixed the issue within hours.

In another instance, a threat actor alleged that a publicly accessible Firebase Realtime Database exposed customer orders and production records. However, the claim had not been verified, and the company had not made a public statement at the time.

These incidents highlight the importance of proper configuration. If developers build on Firebase, the article emphasizes the critical role of the locks that matter, specifically focusing on the mandatory implementation of App Check for AI features. The researcher stressed that understanding why this keeps happening is crucial.

Recent Firebase leaks were attributed to open doors resulting from well-known Firebase misconfigurations. Security Rules left public, allowing anyone with the project URL to read, modify, or delete data. The developer reportedly addressed the issue within hours of detection. The broader scan revealed that 103 out of 200 iOS apps had the same vulnerability. This underscores the need to fix the rules first and then add App Check to enhance security.

The broader context of AI apps increases the stakes, as chat histories are among the most sensitive data that an app can handle. Firebase App Check serves as the second lock, complementing Security Rules. While Security Rules determine who may read what, App Check rejects requests from scripts rather than the actual app, thereby reducing the risk of app-less probing. However, App Check alone cannot rescue badly written rules; proper rule writing is essential before implementing App Check.

The article advises a two-minute check before shipping to search for specific patterns in the rules and ensure every collection requires sign-in and checks the user against the data they access. It also recommends enabling App Check in monitoring mode and enforcing it once the numbers appear clean. The authentication system does not solve all problems; it only addresses whether a user is allowed to touch the data.

Two abuse paths persist even with perfect rules: a real user with a script and someone with a legitimate account scraping data from their own code or using a public API key and project ID. App Check specifically addresses these cases by ensuring that only genuine, untampered app requests are accepted.

The flow of App Check involves three steps: Attestation, Token exchange, and Verification. Attestation involves the app asking a platform attestation provider to prove that it is the genuine app running on a real device. The Firebase issues a short-lived App Check token upon successful verification. The Verification step involves the SDK attaching the token to each request, which the backend service checks.

When enforcement is enabled, requests without a valid token are rejected. A notable consequence is that a device unable to obtain a token cannot access the protected service, making an outage or configuration mistake appear as a full app outage.

App Check covers core Firebase backend products such as Cloud Firestore, Realtime Database, Cloud Storage, Cloud Functions, and Firebase AI Logic. Support for some products, like Firebase Authentication, is still in preview. Developers can verify App Check tokens in their own backend, which is particularly useful if they run custom endpoints beyond Firebase.

Implementing App Check safely involves monitoring first and enforcing second. The decision to switch on enforcement is crucial, as adding the SDK does not block anything. The Firebase console will show the share of verified versus unverified requests. Developers should leave App Check in monitoring mode for days or weeks to determine who the unverified traffic belongs to, whether it is their own users on an old app version or outsiders imitating the app.

Enforcing one product at a time is recommended to prevent locking out users who have not updated yet.

For iOS platforms, App Attest is the production provider, with DeviceCheck as an older alternative. For local development in the simulator, the debug provider is used. A common pattern involves a provider factory that chooses based on the environment. Developers should set the factory before configuring Firebase App Check and configure Firebase App Check accordingly.

When using the debug provider, a debug token is printed in the Xcode console and registered in the Firebase console under Security, App Check, Apps, and Manage debug tokens. Debug tokens should be treated as secrets and never committed to a public repository.

The article concludes by noting that the requirement for Firebase AI Logic now mandates the use of App Check. Starting November 2, 2026, App Check enforcement will be required to use Firebase AI Logic. As of early July 2026, the Firebase console's guided setup automatically enforces App Check.

Rewritten by urgent.news; may contain errors — check the original.

Source: hackernoon.com

Read the original at hackernoon.com →

More from HackerNoon on urgent.news

Report a problem with this story

Get the day's news by email. Daily, weekly or monthly. Sign up

More in Tech

DreamHost VPS hosting review

Excellent WordPress performance, thoughtful monitoring and managed maintenance, but renewal pricing is steep and root access requires a different product

More from Thursday, 3 December 2026 →