CVE-2026-100629: Capgo backend before 12.127.5 Privilege Escalation via role_bindings PATCH

Published Sep 26, 2026
·
Updated

Capgo (capgo.app backend) before 12.127.5 contains an authorization flaw in the PATCH /private/rolebindings/:bindingid 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 orgadmin role (rank 90) can therefore change an orgsuperadmin binding (rank 95) to a lower-privileged role such as orgmember (rank 75). Because the preventlastsuperadminbindingdelete database trigger fires only BEFORE DELETE and not on UPDATE, an orgadmin can demote every orgsuperadmin, leaving the organization with no super administrator. The issue is fixed in 12.127.5.

Other sources

Capgo (npm package @capgo/backend) before 12.127.5 contains an authorization flaw in the PATCH /private/rolebindings/:bindingid 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 orgadmin role (rank 90) can therefore change an orgsuperadmin binding (rank 95) to a lower-privileged role such as orgmember (rank 75). Because the preventlastsuperadminbindingdelete database trigger fires only BEFORE DELETE and not on UPDATE, an orgadmin can demote every orgsuperadmin, leaving the organization with no super administrator. The issue is fixed in 12.127.5.

— MITRE

Affected Software

2 affected components
Capgo Capgo backend<12.127.5
npm/@capgo/backend<12.127.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade capgo/capgo.app backend to a version that resolves this vulnerability.

    Fixed in 12.127.5
  2. Upgrade

    Upgrade @capgo/backend to a version that resolves this vulnerability.

    Fixed in 12.127.5

Event History

Sep 26, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user with the org_admin role can exploit it. The vulnerable endpoint allows that user to modify a binding currently assigned to an org_super_admin, despite the higher rank of the existing role.

2

What is the practical impact on an organization?

An org_admin can change org_super_admin bindings to lower-privileged roles, including org_member. By doing this for every super administrator, they can leave the organization with no org_super_admin account.

3

Are installations running the fixed release affected?

No. The issue is fixed in Capgo backend version 12.127.5; versions before 12.127.5 are affected.

4

What should be done if an immediate upgrade is not possible?

Restrict org_admin access to trusted users, since org_admin is the role identified as capable of exploiting the vulnerable PATCH endpoint. Review role bindings for unexpected demotions of org_super_admin accounts and ensure at least one intended super administrator remains.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203