# CVE-2026-56247: Capgo privilege escalation via cross-scope RBAC role assignment

Source: https://junglewise.ai/threats/cve-2026-56247-capgo-privilege-escalation-via-cross-scope-rbac-role-assignment  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-30. Updated: 2026-07-01  
License: CC BY 4.0 with a link back

CVE-2026-56247 · Severity: high · CVSS 8.8 · Published 2026-06-30

Capgo, a platform for managing app updates and deployments, contained a flaw in its permission management system. An organization administrator could assign high-level permissions to a user before they even joined the organization, and these permissions would incorrectly persist after the user accepted their invitation. This could allow a low-privileged user to gain full administrative control over specific applications, potentially leading to unauthorized data access or service disruption.

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

## Quick answers

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

**How severe is CVE-2026-56247?** High severity, with a CVSS score of 8.8, published 30 June 2026.

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

**Is there a fix for CVE-2026-56247?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

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

**Am I affected by CVE-2026-56247?** 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's RBAC system due to insufficient validation in the role assignment endpoint (`role_bindings.ts`). The system fails to verify that a role's `scope_type` (e.g., organization-wide) matches the requested binding scope (e.g., app-specific). Furthermore, the system allows these roles to be assigned to pending invitees. Because the authorization resolver (`rbac_has_permission`) trusts the `role_id` without verifying scope compatibility, and the invitation acceptance process fails to clear these malformed bindings, a low-privilege user can inherit high-level permissions (such as `org_super_admin`) restricted to a specific application. This allows the attacker to perform unauthorized actions via direct Row-Level Security (RLS) updates. The issue is patched in version 12.128.2.

## Affected products

- Capgo Capgo before 12.128.2

## Timeline

- 2026-05-07: advisory: GitHub Security Advisory published
- 2026-06-30: disclosed: NVD publication date

## References

- [https://github.com/Cap-go/capgo/security/advisories/GHSA-55q2-p3m2-x66x](https://github.com/Cap-go/capgo/security/advisories/GHSA-55q2-p3m2-x66x)
- [https://www.vulncheck.com/advisories/capgo-privilege-escalation-via-cross-scope-rbac-role-assignment](https://www.vulncheck.com/advisories/capgo-privilege-escalation-via-cross-scope-rbac-role-assignment)

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