Home › Supabase's Oct 30 change didn't protect your old tables

Explainer

Supabase's Oct 30 change didn't protect your old tables

By Warditor

On October 30, 2026, Supabase changed how new tables become reachable over its public Data API — the REST and GraphQL layer that supabase-js and similar client libraries use. New tables in the public schema are no longer opened to that API automatically. You have to grant access on purpose.

That change does not apply to tables that already existed. Supabase says those tables keep their current access and stay reachable.

If you built an app with Lovable, Bolt, Cursor, or another AI coding tool on Supabase, and the tables were created before this change, they may still be readable the same way they were before October 30.

What changed

Before October 30, a new table in the public schema was typically granted read and write access to the anon and authenticated roles, so the Data API could see it right away. After the change, new tables need an explicit grant first.

Row-level security (RLS) — rules that say which rows a signed-in user can see — did not change. Grants decide whether a role can reach a table at all. RLS decides which rows that role can see. You need both.

If your app talks to Postgres over a direct connection and never uses the Data API, this change does not affect you.

Who is still exposed

Existing tables were left as they were. If a table already had public access, it still does, until you revoke that access or add working row-level security.

Two things often go together:

  1. Old grants. Tables created under the old default still have the grants that made them reachable through the Data API.
  2. Missing row-level security. Supabase's docs say tables created in the Dashboard have RLS turned on by default. Tables created in the SQL Editor, through the API, or with another tool do not — and that last path is how many coding agents create tables. UpGuard makes the same point. Turning RLS on is also not enough by itself: you need policies that actually limit who can see which rows.

In September 2026, before the October change, UpGuard found 16,326 Supabase databases with readable tables. In more than half, the table schemas pointed to personal information. A smaller share included passwords or credentials. BleepingComputer covered the same research. That figure is from before October 30. The change would not have closed those old tables on its own, but it is not a new count taken after the rollout.

How to tell if you're affected

Review your project if it uses the Data API (supabase-js, another Supabase client, or requests to /rest/v1/ or /graphql/v1) and has tables in the public schema created before October 30, 2026, or created by an AI coding tool without explicit grants and RLS policies.

In your Supabase Dashboard, open Security Advisor. It lists tables worth reviewing and can show the SQL to fix them. In the Table Editor, look for the Data API exposure badge. That tells you what Supabase can see from inside the project. It does not tell you what a stranger can reach from the public internet.

How to fix it

Do this on your own project, and only after you've confirmed which tables the app actually needs. If you revoke access the app still uses, the app will break until you add the right grants and policies. Review one table at a time.

If a table should not be reachable through the Data API at all, revoke the grants. This is the official guidance from Supabase. Leave service_role out of the statement if you still need server-side access with a secret key.

revoke all on table public.your_table from anon, authenticated, service_role;

If the app needs the table through the Data API, grant only what each role needs, turn on row-level security, and add a policy. Supabase treats these as a unit:

-- 1. Grant only what the role needs (example)
grant select on public.your_table to anon;
grant select, insert, update, delete on public.your_table to authenticated;

-- 2. Turn on row-level security
alter table public.your_table enable row level security;

-- 3. Add a policy. This example lets signed-in users read only their own rows.
-- Replace user_id with the column your app actually uses.
create policy "users can read their own rows"
  on public.your_table
  for select
  to authenticated
  using (auth.uid() = user_id);

Security Advisor can show remediation SQL for your project.

Check my app

Want to see what a stranger can actually reach from the outside? Run a free scan of your own app.

Check my app

Scan only an app you own or have permission to test. We don't scan other people's apps without that.

If you'd rather have someone do the work

A built-in scanner from the platform you used can check that platform's code. Warditor checks from the outside what strangers can actually reach — including apps built on other tools, or left over from before the default changed — and can help you fix what it finds.

If the scan finds open access on old tables, a Fix Pack (see pricing) covers:

  • Removing the old open access on tables that shouldn't be public
  • Turning on row-level security and adding policies so the right people can still use the app
  • Checking again from the outside to confirm strangers can't read the data
  • A plain-English explanation of what changed