Back to blog
Supabasesensitive dataRLS

Supabase: configuration mistakes that expose your sensitive data

Published on 2026-04-166 min readCleanIssue

> TL;DR: The Supabase mistakes that matter in your product or your product: incomplete RLS policies, overly open buckets, and weak organization boundaries.

Why Supabase deserves a special look

Supabase helps small product teams ship fast. In your product, that speed does not remove the need for very strict separation.

For more — see our AI agent security review.

The risk is not Supabase itself. The risk comes from incomplete RLS policies, document buckets that are too open, or access logic enforced in the frontend instead of in the data layer.

The most common mistakes

RLS exists but is incomplete

A policy is present, so the team assumes it is safe. In practice, it may authenticate a user but forget the organization boundary, manager scope, or employee-to-company relationship.

Document buckets are too permissive

Payslips, contracts, and supporting documents are sometimes less protected in storage than in the app.

Access logic lives in the frontend

The UI hides the right screens, but if the real protection is not enforced by the database or backend, the data can still be retrieved elsewhere.

What teams should review

  • which RLS policies protect critical tables;
  • how roles are scoped per company and user;
  • who can list, read, or download documents;
  • whether a manager can see more than their real scope;
  • how payroll exports are delivered and protected.
  • Our view

    For your product, the real question is not "did we enable RLS?" but "does our separation still hold when someone steps outside the happy path?"

    For software vendors

    CleanIssue specializes in security reviews for software handling sensitive data. If you're building a product, payroll tool, or ATS and want an external review of your exposure before a client audit or security questionnaire, see our offer for software vendors.

    Key Takeaways

  • Identify and test your exposed attack surfaces before a third party does.
  • Client-side security controls never replace server-side validation.
  • Regular audits are more effective than one-time checks — vulnerabilities appear with every deployment.
  • Building software? CleanIssue performs security audits for your product in real-world conditions, no source code access needed. For a first read of your exposure, start with an external review of your application.

    Sources

    Written by CleanIssue
    Reviewed on 2026-04-16

    Editorial analysis based on official vendor, project, and regulator documentation.

    Related services

    If this topic maps to a real risk in your stack, these are the most relevant CleanIssue audits.

    Want to know what your AI agent can do?

    Tell us about your agent, its tools, and client context. We will come back with the right review scope.

    Discuss your audit