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

> An authenticated org_admin can demote super admins due to missing rank checks, potentially removing all super administrators from an organization.

- **Severity:** High 7.0 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 26 Sep 2026
- **Updated:** 5 Oct 2026
- **Also known as:** GHSA-54mj-q77q-xwx5, GHSA-56rm-j3fv-2h9m

## What is CVE-2026-100629?

CVE-2026-100629 is a high-severity missing authorization vulnerability in Cap-go capgo.app, published on 26 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.

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

Weakness: CWE-863 (Incorrect Authorization)

## Which versions are affected by CVE-2026-100629?


## How do I fix CVE-2026-100629?

No fix has been published for CVE-2026-100629 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-100629 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-100629 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-100629 and fix it if it is affected.

What it is: CVE-2026-100629 is a high-severity missing authorization vulnerability in Cap-go capgo.app, published on 26 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-100629 exists.

Affected product: Cap-go capgo.app. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-100629/ (Markdown: https://insights.sbomify.com/CVE-2026-100629/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-100629
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-100629
- OSV: https://osv.dev/vulnerability/CVE-2026-100629

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-100629/
Summaries are generated and may contain mistakes; the official description above is the record.
