Misconfigured Supabase apps expose data in over 16,000 databases

· CyberSecurity

TLDR

  • UpGuard found more than 16,000 misconfigured Supabase databases exposing readable data, out of roughly 300,000 domains scanned.1
  • Row-level security is opt-in in Supabase, so AI-assisted app builds that skip it leave databases readable to anyone.1
  • Over half of the affected databases exposed personally identifiable information, and some exposed plaintext passwords.1

Researchers at cyber risk management firm UpGuard examined roughly 300,000 domains showing signs of Supabase usage, checking each for an accessible "users" table or similarly named table, and found more than 16,000 databases with misconfigured security exposing readable data.1 The exposures stemmed from missing or ineffective row-level security policies and misuse of public keys, which together left tables queryable by anyone rather than restricted to authorised requests.1

In over half of the affected databases, researchers found personally identifiable information; smaller subsets contained plaintext passwords and authentication tokens, and a limited portion reportedly included credit card data.1 Examples cited include a US valet service exposing more than 100,000 customer records with contact details, licence plates and visit history; a Canadian immigration service exposing nearly 5,000 user records including 884 plaintext passwords; an India-based adult creator platform exposing sensitive identity and payment data along with over 100,000 private messages; a Philippines-based OTP service exposing more than 2,000 users and 100,000 SMS messages; and an African government consulate exposing 25,000 people's records, including addresses and emergency housing locations.1

UpGuard attributed much of the pattern to AI-assisted development, stating the exposures were consistent regardless of business type because "the humans... do not understand their database's configuration," with site creators using AI coding tools often unaware of the configuration, though the firm stopped short of confirming every affected site was AI-built.1 UpGuard said it notified application owners when its deeper analysis identified significant exposure, and pointed Supabase users towards the platform's security documentation, including its advisors tool and API security guide, to identify and mitigate exposure risk.1 Supabase's chief information security officer, Bil Harmer, told TechCrunch that while the company had not seen UpGuard's research, its projects are "secure by default" and security is a shared responsibility: "We provide secure defaults and tooling, and customers control how their own projects are configured."2

Why it matters: row-level security in Supabase is opt-in rather than default, so a wave of AI-assisted app development without that step has quietly left tens of thousands of production databases readable to anyone who knows to check, making this less a single vendor flaw and more a widespread pattern worth checking your own Supabase projects against.

Sources

  1. Misconfigured Supabase apps expose data in over 16,000 databases (BleepingComputer)
  2. Some Supabase customers are publicly exposing reams of people's data to the web (TechCrunch)