What’s Vulnerable › Vulnerabilities
CVE-2026-100629: Capgo backend before 12.127.5 Privilege Escalation via role_bindings PATCH
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-26 · updated 2026-10-05
- Weakness: CWE-863
Description
Capgo (capgo.app backend) before 12.127.5 contains an authorization flaw in the PATCH /private/role_bindings/:binding_id endpoint. The handler verifies that the newly assigned role's priority rank does not exceed the caller's own rank, but — unlike the DELETE handler — it never checks the rank of the role currently bound to the target binding. An authenticated user holding the org_admin role (rank 90) can therefore change an org_super_admin binding (rank 95) to a lower-privileged role such as org_member (rank 75). Because the prevent_last_super_admin_binding_delete database trigger fires only BEFORE DELETE and not on UPDATE, an org_admin can demote every org_super_admin, leaving the organization with no super administrator. The issue is fixed in 12.127.5.
Affected products
- Cap-go capgo.app: before 12.127.5 — fixed in 12.127.5
How to fix
Upgrade to a fixed version: Cap-go capgo.app 12.127.5. Check the vendor advisory for mitigations.
References
- https://github.com/Cap-go/capgo.app/security/advisories/GHSA-54mj-q77q-xwx5
- https://www.vulncheck.com/advisories/capgo-backend-before-12.127.5-privilege-escalation-via-role-bindings-patch
- https://github.com/Cap-go/capgo.app/security/advisories/GHSA-54mj-q77q-xwx5
Get alerted when CVE-2026-100629 or the next vulnerability affects your stack