{"id":"CVE-2026-100629","aliases":["CVE-2026-100629"],"related":[],"kind":"vulnerability","state":"published","title":"Capgo backend before 12.127.5 Privilege Escalation via role_bindings PATCH","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-26T13:23:05.748Z","modified":"2026-10-05T16:17:03.420Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"12.127.5","status":"affected"},{"type":"semver","version":"12.127.5","status":"unaffected"}],"vendor":"Cap-go","product":"capgo.app","source":"cvelist"}],"references":[{"url":"https://github.com/Cap-go/capgo.app/security/advisories/GHSA-54mj-q77q-xwx5","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/capgo-backend-before-12.127.5-privilege-escalation-via-role-bindings-patch","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["offset"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-10-05T16:07:56.183Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100629","url":"https://www.cve.org/CVERecord?id=CVE-2026-100629","licence":"CVE Terms of Use","modified":"2026-10-05T16:08:07.601Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100629","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100629","licence":"Public domain","modified":"2026-10-05T16:17:03.420Z"}],"updatedAt":"2026-11-25T22:59:41.205Z","epss":{"score":0.00334,"percentile":0.28627,"date":"2026-12-01T12:00:22.000Z"}}