CVE-2026-88864: Capgo - Broken Access Control
- Cve: CVE-2026-88864
- Name: Capgo - Broken Access Control
- Description: Capgo (capgo.app) fails to restrict direct write access to the public.sso_providers table exposed through Supabase PostgREST. A holder of an ordinary Capgo full API key can insert a row with status='active' and enforce_sso=true, bypassing the intended backend SSO provisioning route (supabase/functions/_backend/private/sso/providers.ts) and its controls: the Enterprise plan requirement, SSO provider creation via the Supabase Management API, DNS TXT domain-ownership verification, the pending_verification → verified → active status transition, and issuance of a trusted provider ID by Supabase Auth. The forged row is trusted by SSO discovery and enforcement logic, including the unauthenticated login preflight endpoint /private/sso/check-domain, which then reports {"has_sso": true, "enforce_sso": true} for domains that were never verified, allowing attacker-controlled SSO enforcement to be asserted for arbitrary domains and disrupting normal login. All versions are affected; at the time of the advisory no patch was available.
- Impact: Attackers can bypass SSO controls and enforce arbitrary SSO for domains, disrupting normal login and potentially locking out legitimate users.
- Remediation: Restrict direct write access to the public.sso_providers table and implement proper SSO provisioning controls; update to the latest fixed version when available.
- Vulnerability type: broken_access_control
- Vulnerability impact: broken_access_control
- Requirement type: logged_in
- Requirements: Attacker needs a full API key
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L
- Epss score: 0.00366
- Epss percentile: 0.30865
- Assignee: [email protected]
- Published at: 2026-09-10T14:17:12Z
- Age in days: 75
- Modified at: 2026-09-30T18:18:42Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-88864
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Cap-go/capgo.app/security/advisories/GHSA-xg7v-83qv-qfff | nvd | |
| https://www.vulncheck.com/advisories/capgo-sso-provider-authentication-bypass-via-postgrest-direct-write | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Cap-go/capgo.app | security_advisory | yes | /v1/repositories/Cap-go/capgo.app |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts