Catalog/VULNERABILITY/supabase-security
SCAN-ID: SUPABASE-SECURITYREVISION 2026.4
VULNERABILITYCVSS 9.3 (CRITICAL)

BaaS & Supabase RLS Policy Auditor

Audit public tables, service role leakage, and missing Row-Level Security (RLS) policies on your Supabase backend.

Technical Scope & Verification Behavior

Tests REST PostgREST schemas for public SELECT/UPDATE permissions, inspects anonymous role access, and validates database auth policies.

Automated Inspection Checks (15)
Passive URL parameter fuzzing
Non-destructive boundary tests
Header & cookie flag assertions
Differential latency timing

Proof of Concept (PoC) Vector

Canonical test payload dispatched during security surface audits.

GET /rest/v1/users?select=* (returns all rows with anon key)

Probe Execution Simulator

Watch the probe engine test this signature in an isolated sandbox.

probe-runner (isolated ephemeral container)
Click 'Simulate Check' to watch the headless audit engine test this vector.

Remediation Patch

Enable Row-Level Security

patch.diff (sql)
--- a/handler.sql (Vulnerable)
CREATE TABLE profiles (id uuid, email text); -- RLS disabled
+++ b/handler.sql (Remediated)
ALTER TABLE profiles ENABLE ROW LEVEL SECURITY;
CREATE POLICY "Users can view own profile" ON profiles FOR SELECT USING (auth.uid() = id);

Always enable RLS on every public PostgreSQL table and configure granular policies mapped to auth.uid().

AI Agent Prompt (Cursor · Claude · Copilot)

Copy and paste into your editor to refactor this issue automatically.

"Enable Row-Level Security on this table and write a SELECT policy restricting data access to authenticated users."

Run Isolated Check

Test your public domain specifically for BaaS & Supabase RLS Policy Auditor.

100% passive • No server load

Specification Details

CVSS Score
9.3 / 10.0
Severity Level
CRITICAL
Category
VULNERABILITY
Test Vectors
15 automated
Execution SLA
< 2.5 seconds
False Positive Defense
Strict assertion
Related Standards
#Supabase#RLS#PostgreSQL#BaaS

Run continuous monitoring for BaaS & Supabase RLS Policy Auditor

Audit your site across all 41 vectors automatically on every deploy.

Back to Catalog