CVE-2026-56248
Deferred Deferred - Pending Action
Unauthenticated DoS in Cap-go Backend via Supabase RLS Policy

Publication date: 2026-06-23

Last updated on: 2026-06-23

Assigner: VulnCheck

Description
Cap-go capgo (capgo-backend) before 12.128.12 contains an unauthenticated denial-of-service vulnerability arising from the audit_logs table's Row-Level Security (RLS) policy when accessed via the Supabase PostgREST API. Because the PostgreSQL query planner executes costly logic before RLS rejection, unfiltered queries to the public.audit_logs endpoint using the public anon key consistently trigger statement timeouts (PostgREST error 57014). Under concurrency, this exhausts database resources and causes cascading HTTP 500 failures on unrelated endpoints (e.g. /orgs), resulting in an application-layer denial of service.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-23
Last Modified
2026-06-23
Generated
2026-06-23
AI Q&A
2026-06-23
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
cap-go capgo to 12.128.12 (exc)
cap-go capgo-backend to 12.128.12 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-56248 is an unauthenticated denial-of-service (DoS) vulnerability in Cap-go's capgo-backend versions before 12.128.12. It arises from a flaw in the audit_logs table's Row-Level Security (RLS) policy when accessed via the Supabase PostgREST API. The PostgreSQL query planner executes resource-intensive operations before rejecting unauthorized queries, causing statement timeouts when querying the public.audit_logs endpoint using the public anon key.

Under concurrent access, this behavior exhausts database resources, leading to cascading HTTP 500 errors on unrelated endpoints (such as /orgs), effectively causing an application-layer denial of service.

Impact Analysis

This vulnerability can severely impact service availability by allowing unauthenticated attackers to exhaust database resources through repeated queries to the audit_logs table. This results in statement timeouts and cascading HTTP 500 errors on unrelated endpoints, causing service degradation or full service disruption.

  • Reduced availability of the affected application.
  • Cascading failures on unrelated API endpoints.
  • Potential full denial of service at the application layer.
Detection Guidance

This vulnerability can be detected by observing repeated statement timeouts (PostgreSQL error 57014) when querying the public.audit_logs endpoint via the Supabase PostgREST API using the public anon key.

Specifically, unauthenticated queries to the audit_logs table that consistently result in HTTP 500 errors or statement timeouts indicate the presence of this issue.

A practical detection method is to perform an unauthenticated query to the public.audit_logs endpoint and monitor for timeouts or HTTP 500 errors.

  • Use a command like: curl -X GET "https://<your-capgo-instance>/rest/v1/public.audit_logs" -H "apikey: anon"
  • If the query consistently times out or returns HTTP 500 errors, this indicates the vulnerability is present.

Additionally, monitoring your database logs for frequent statement cancellations due to timeouts (error 57014) and observing cascading HTTP 500 errors on unrelated endpoints (e.g., /orgs) under concurrent access can help detect exploitation attempts.

Mitigation Strategies

Immediate mitigation involves upgrading capgo-backend to version 12.128.12 or later, where this vulnerability has been addressed.

Until an upgrade is possible, restrict or disable unauthenticated access to the public.audit_logs endpoint to prevent unauthenticated queries using the public anon key.

Implement rate limiting or throttling on queries to the audit_logs endpoint to reduce the risk of resource exhaustion.

Monitor your system for unusual spikes in database resource consumption and HTTP 500 errors on unrelated endpoints, and respond promptly to such incidents.

Compliance Impact

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56248. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart