# CVE-2026-56241: Capgo privilege escalation via stale RBAC demotion records

Source: https://junglewise.ai/threats/cve-2026-56241-capgo-privilege-escalation-via-stale-rbac-demotion-records  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-12. Updated: 2026-07-12  
License: CC BY 4.0 with a link back

CVE-2026-56241 · Severity: high · CVSS 8.3 · Published 2026-07-12

Capgo, a platform for managing over-the-air (OTA) updates, contains a flaw where users who were previously administrators retain high-level permissions even after being demoted. This allows a demoted user to continue viewing and deleting critical application bundles across an entire organization. Exploitation could lead to service disruptions, as affected devices would stop receiving necessary software updates.

Technologies: [Capgo](https://junglewise.ai/threats/technologies/capgo). Vendors: [Capgo](https://junglewise.ai/threats/vendors/capgo).

## Quick answers

**Is CVE-2026-56241 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-56241 being exploited in the wild.

**How severe is CVE-2026-56241?** High severity, with a CVSS score of 8.3, published 12 July 2026.

**Which products and versions are affected?** Capgo < 12.128.2.

**Is there a fix for CVE-2026-56241?** A patch was published on 2026-07-12: Fix confirmed in version 12.128.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-56241 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-56241?** Check whether you run Capgo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A privilege escalation vulnerability exists in Capgo versions prior to 12.128.2 due to improper authorization checks in the Role-Based Access Control (RBAC) system. When a user's 'super_admin' role binding is deleted via the API, the system fails to clear the legacy 'org_users.user_right' column in the database. Furthermore, the 'delete_non_compliant_bundles' and 'count_non_compliant_bundles' RPCs rely on this legacy column for authorization instead of the modern RBAC permission checks. An authenticated attacker with a previously held administrative role can exploit this to enumerate and bulk-delete non-compliant bundles across an organization indefinitely. The issue is resolved in version 12.128.2 by migrating the RPCs to use 'rbac_check_permission_direct()' and ensuring the demotion process correctly updates legacy columns.

## Affected products

- Capgo Capgo < 12.128.2

## Timeline

- 2026-05-07: advisory: Vendor advisory published on GitHub
- 2026-07-12: disclosed: CVE published and NVD record created
- 2026-07-12: patched: Fix confirmed in version 12.128.2

## References

- [https://github.com/Cap-go/capgo/security/advisories/GHSA-rvvc-rvxv-qcrh](https://github.com/Cap-go/capgo/security/advisories/GHSA-rvvc-rvxv-qcrh)
- [https://www.vulncheck.com/advisories/capgo-rbac-demotion-privilege-retention-via-stale-org-users-user-right](https://www.vulncheck.com/advisories/capgo-rbac-demotion-privilege-retention-via-stale-org-users-user-right)

## Related threats

- [Capgo access control bypass in SSO provider configuration](https://junglewise.ai/threats/cve-2026-100612-capgo-capgo-app-through-version-12-261-0-contains-an-incomplete)
- [Capgo information disclosure in SSO check-domain endpoint](https://junglewise.ai/threats/cve-2026-56336-capgo-information-disclosure-in-sso-check-domain-endpoint)
- [Capgo improper authorization in SSO prelink endpoint](https://junglewise.ai/threats/cve-2026-56313-capgo-improper-authorization-in-sso-prelink-endpoint)
- [Capgo insufficient authentication in email change endpoint](https://junglewise.ai/threats/cve-2026-56308-capgo-insufficient-authentication-in-email-change-endpoint)
- [Capgo SQL injection in admin_stats endpoint](https://junglewise.ai/threats/cve-2026-56281-capgo-sql-injection-in-admin-stats-endpoint)
