LeakLatch

Blog · November 18, 2026

A public Supabase bucket means anyone with the link gets the file

When an uploaded file won't load in your Supabase app, it's tempting to flip the Storage bucket to Public and move on.

Supabase's docs spell out what that does: a public bucket bypasses access controls for retrieving and serving files, so anyone who has a file's URL can download it. Uploads, deletes, moves, and copies are still checked, which is why it can look safe.

That's fine for avatars and blog images. It isn't fine for ID scans, invoices, or user documents, whose URLs end up in logs, emails, and shared links.

Fix: keep sensitive files in a private bucket, add an RLS policy on storage.objects, and serve files with createSignedUrl links that expire.

Source: https://supabase.com/docs/guides/storage/buckets/fundamentals

A longer, step-by-step guide — including how to check a bucket in the dashboard, when public is fine, and how to switch to signed URLs — is at https://leaklatch.vercel.app/supabase-public-bucket

Check your live app for leaked keys and readable Supabase tables with a free, read-only scan at https://leaklatch.vercel.app