{"schema":"threatline.record/2","record":{"id":"CVE-2026-100629","aliases":["GHSA-54mj-q77q-xwx5"],"summary":"Capgo backend before 12.127.5 Privilege Escalation via role_bindings PATCH","details":"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.","categories":["Unclassified"],"product":"capgo.app","vendor":"Cap-go","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-100629","source_modified_at":"2026-10-05T16:08:07.601Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"capgo.app","vendor":"Cap-go","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"12.127.5"},{"version":"12.127.5","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-100629","source_modified_at":"2026-10-05T16:08:07.601Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"capgo.app","ecosystem":null},"version":"12.127.5","basis":"first unaffected version stated in the CVE record"}],"cvss":7,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00276,"percentile":0.19008,"score_date":"2026-10-23"},"published_at":"2026-09-26T13:23:05.748Z","modified_at":"2026-10-05T16:08:07.601Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-100629","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-05T16:08:07.601Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-100629","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/Cap-go/capgo.app/security/advisories/GHSA-54mj-q77q-xwx5","tags":["exploit"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/capgo-backend-before-12.127.5-privilege-escalation-via-role-bindings-patch","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-05T16:07:56.183331Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-05T16:08:07.601Z","content_hash":"831f27eef4be00ef7051232cd79f176f08a7a455249526153b816c34910c1cca"}}
