Skip to content

Supabase's October 30 change: new public tables need a grant for Data API access. What to doSupabase's October 30 change is live: new public tables need a grant for Data API access. What broke and how to fix it

25 tools · 142 fixes · 43 issue guides · Sources: Supabase, GitHub, Vercel, postgresql.org + 56

Guides

New guides

Ordered by the day each guide was published. A guide keeps a New badge for seven days from that date. To filter guides by platform or severity, use the issue directory.

The date on each row is the publish date, so an edit to an older guide does not move it up this list. For dated reports about specific products and packages, see the incident feed. To read the Supabase, Firebase, and storage guides together, use database and row level security.

Supabase's changelog names October 30, 2026 as the day its new Data API default is enforced on existing projects. Once it reaches a project, a new table in the public schema is not on the Data API until you grant a role access. Supabase's Oct 30 change: new tables aren't exposed automatically is the full guide. Guides published after it build on it: the Oct 30 check page lists each Data API role missing a grant, and grants in migrations puts the grant next to the create table statement.

The Supabase exposure checker is a browser tool, not a guide. It shows whether the anon key can read a row. It does not cover the October 30 grant change. A 401, 403, or Postgres 42501 is inconclusive. The grant SQL is in the guide above.

  • Can a GitHub issue, comment or email hijack my AI agent?

    Yes, if your agent reads text other people wrote and can act on it. How issue, comment, and email triggers get hijacked, and settings that limit the damage.

  • How do I add Supabase Data API grants to my migrations?

    Write each role's grant in the migration that creates the table, next to enable row level security and the policies. Grant anon only for public tables.

  • How do I fix GitHub code scanning alerts?

    Open the alert under Security and quality, read its path and fix guidance, fix it in a pull request, and dismiss it only when it is wrong or does not apply.

  • Check your coding agent's security work

    A coding agent saying your app is secured is a report, not proof. Ask it to list its findings and ask before changes, then check the work yourself.

  • Do Supabase views bypass RLS? How to check

    Often, yes. By default a view reads its tables with its owner's permissions, so it skips RLS whenever that owner does. Set security_invoker = true.

  • Security checklist for AI client work

    Building an app for a client? Put the keys in their accounts, turn on RLS, keep secret keys on the server, cap AI spend, and hand over access cleanly.

  • Railway breach: rotate secrets

    Railway says stored secrets may have been exposed. Rotate credentials at each provider, update Railway, redeploy, and review provider logs.

  • Can anyone call your Supabase functions?

    Yes. By default even anon can call a function in public at /rest/v1/rpc; postgres-owned security definer ones skip RLS. Revoke EXECUTE from PUBLIC and anon.

  • Supabase permission denied for table (42501) on a new table: what changed on October 30, 2026?

    From October 30, 2026, new public tables in existing Supabase projects need an explicit grant. Read-only queries list what is missing; the fix SQL follows.

  • Which Vercel env vars should be Secret? How to check yours

    Any private Vercel credential, such as a secret API key, access token, database password, or signing key, should be a Secret; Config is for values that are not secret, including a publishable key you ship to the browser on purpose, and neither type keeps a NEXT_PUBLIC_ value out of the browser.

  • Is the npm package your AI agent added safe?

    An agent can add an npm name that does not exist yet, which an attacker can register later, or a real package whose install script runs with your tokens.

  • Auth in middleware that skips API routes

    A matcher that excludes /api (or only matches /dashboard) stops the login redirect on pages while Route Handlers and some Server Function POSTs stay open.

  • Session tokens stored in localStorage

    A JWT or session id in localStorage is readable by any script on the origin. One XSS becomes account takeover.

  • Public env vars, the Supabase anon key, and row level security

    Vite bundles a VITE_ value into client source, and Next.js inlines NEXT_PUBLIC_ at build time. A Supabase publishable key in those names is public by design. Row level security is what limits the rows that key can touch.

  • How to deploy your vibe-coded app securely

    Put server secrets in the host's environment, keep them out of the browser bundle, and do not give a preview deploy the production database or a public URL it does not need.

  • Is my Bolt app secure? What to check before you publish

    Vite documents that VITE_ values are bundled into the client, and Vercel's Bolt export guide says the Secrets panel values are not in the zip you deploy.

  • Keys committed to GitHub

    A key in a commit is copied to every clone and to GitHub's history. Deleting the file in a new commit does not remove it.

  • Lovable app security: RLS, keys, and auth

    Lovable's own Supabase guide says missing row level security policies are the most common way app data gets exposed, and that secret keys must stay out of the client.

  • Missing privacy policy and terms

    If you collect accounts, emails, or payments, you need a page that says what you collect and a page that says the rules of the product.

  • Outdated dependencies

    A lockfile full of old packages is a pile of known bugs you have not looked at. Some are security fixes and some are noise, so you still have to look.

  • Run Cloudflare's security-audit skill

    Cloudflare's security-audit skill is a free MIT skill that drives a coding agent through a source audit. A full run spends agent invocations, and the skill file tells the agent to stop when the budget cannot cover them.

  • Supabase's Oct 30 change: new tables aren't exposed automatically

    On October 30, 2026, existing Supabase projects stop exposing new public tables to the Data API. A missing GRANT returns error 42501. Copy-paste fix.

  • v0 apps, public env vars, and Supabase auth

    v0 deploys to Vercel and can connect a backend. Vercel and Supabase document which keys are public and which keys bypass row level security.

  • Who can read my Replit secrets?

    Replit's secrets page says a Multiplayer collaborator and an organization member with the Owner role can see secret names and values, while an organization member without the Owner role can see names but not values and can access the values by printing the environment variables. A cover page visitor sees neither names nor values, and a non-owner remixing the project, or anyone remixing from the cover page, sees names but not values.

  • Auth checked only in the UI

    Hiding a button or a page does not stop a request. The server, the database policy, or both have to reject it.

  • CORS wide open

    Reflecting any website's Origin and allowing credentials means that website can call your API as the logged-in user.

  • Cross-site scripting (XSS)

    User content rendered as HTML runs in your origin. It can read that user's data and call your API as them.

  • Exposed .env files and debug endpoints

    A public .env, a /api/debug route, or a client bundle that prints config hands your secrets to anyone who asks.

  • Firebase rules left open

    Firestore or Storage rules that allow any read and write make the database public. The client SDK will do whatever the rules allow.

  • How to check if RLS is enabled on every Supabase table

    How to check whether the Supabase anon key can read every row of a public table the Data API exposes when row level security is off.

  • IDOR: reading or changing someone else's data

    The request carries an id, and the server fetches that id without checking that it belongs to the signed-in user.

  • Missing security headers

    Headers tell the browser not to sniff content, not to load you in a frame, and which scripts are allowed. They limit damage, and they do not replace auth.

  • No cap on LLM API spend

    A model route with your key and no limit is a meter anyone can run. One script can spend a month of budget in an afternoon.

  • No rate limiting on auth or paid API routes

    Login, password reset, and any route that calls a paid API will accept as many requests as an attacker sends, until the bill or the user list gives out.

  • Open storage buckets

    A public bucket, or a storage policy of allow-all, lets anyone with the URL read files other users uploaded.

  • Prompt injection in LLM features

    Text you feed a model, including user messages and documents it reads, can contain instructions. If the model can call tools, those instructions can become actions.

  • Secret keys shipped in the frontend

    A Supabase secret key, Stripe secret key, or model API key in the browser bundle is public. Anyone can copy it and use it as your server.

  • Server Actions with no auth check

    A Server Action is a public POST. 'use server' does not mean only your button can call it.

  • SQL injection

    User input glued into a SQL string can change the query. The database then runs the attacker's statement with your connection's privileges.

  • The client sets the price, role, or plan

    If the browser can send amount, plan, or role and the server saves it, users will send the values they want.

  • Unsafe file uploads

    An upload that trusts the browser's file type, keeps the original name, or serves the file from your site can become stored XSS or a malware host.

  • Unverified Stripe webhooks

    A webhook is a public URL. If you trust the JSON without checking Stripe's signature, anyone can tell your app that a payment succeeded.

  • Weak password reset

    A reset flow that uses a short code, a guessable link, or a client-only check lets someone take the account without the password.