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

- Severity: High 7.0 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-26T13:23:05.748Z
- Modified: 2026-10-05T16:17:03.420Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Cap-go capgo.app: before 12.127.5 (not affected: 12.127.5)

## Every score

- VulnCheck: CVSS:4.0 7.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/Cap-go/capgo.app/security/advisories/GHSA-54mj-q77q-xwx5> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/capgo-backend-before-12.127.5-privilege-escalation-via-role-bindings-patch> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-100629](https://www.cve.org/CVERecord?id=CVE-2026-100629), CVE Terms of Use, modified 2026-10-05
- NVD: [CVE-2026-100629](https://nvd.nist.gov/vuln/detail/CVE-2026-100629), Public domain, modified 2026-10-05

---

Page: https://cve.day/CVE-2026-100629 · Whole record: https://cve.day/CVE-2026-100629.json · Rebuilt by cve.day 2026-11-25T22:59:41.205Z
