Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-100613 Overview
CVE-2026-100613 is an authorization bypass vulnerability in capgo.app, an over-the-air (OTA) update platform for Capacitor applications. The flaw resides in the transfer_app() database function, which moves an app and its related records between organizations without revalidating entries in the channel_permission_overrides table. A former member of the source organization retains stale channel overrides after a transfer, enabling that user to point a destination-owned channel at an attacker-selected bundle. Devices requesting updates then receive the attacker-chosen application version. The weakness is tracked under CWE-863: Incorrect Authorization.
Critical Impact
An authenticated former organization member can modify channel bundles in a destination organization and deliver arbitrary application versions to end-user devices through the /updates endpoint.
Affected Products
- capgo.app (Cap-go/capgo.app) OTA update platform for Capacitor apps
- All versions up to and including the current release at time of publication
- No patched release available at time of advisory publication
Discovery Timeline
- 2026-09-26 - CVE-2026-100613 published to the National Vulnerability Database (NVD)
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-100613
Vulnerability Analysis
The vulnerability stems from incomplete authorization cleanup during app transfers in capgo.app. The transfer_app() database function reassigns an app, its channels, versions, and related metadata to a destination organization. However, it does not delete or revalidate rows in channel_permission_overrides that were created when the app belonged to the source organization. Stale overrides persist and continue to grant channel-level permissions to users who no longer hold membership or role-based access control (RBAC) bindings in the destination organization.
An affected user can authenticate with their existing JSON Web Token (JWT) and issue requests directly against the PostgREST API. Because PostgREST authorization checks honor the lingering override rows, the request succeeds. The attacker modifies the channel to reference a different bundle, and the /updates endpoint subsequently distributes that bundle to every device subscribed to the channel. This produces a supply-chain style compromise of mobile application integrity.
Root Cause
The root cause is incomplete state cleanup in the transfer_app() transaction. The prior remediation for GHSA-626c-p6fq-3whq (PR #3093) validates organization membership only at override creation or update time. It does not purge overrides that become orphaned when the parent app changes organizations. The authorization decision therefore trusts data that no longer reflects current membership.
Attack Vector
Exploitation requires that the attacker previously held a legitimate channel permission override while a member of the source organization. After the app is transferred, the attacker uses their own authenticated JWT to call PostgREST endpoints that operate on the destination-owned channel. No interaction with the destination organization is required. See the VulnCheck advisory for additional context.
No verified public proof-of-concept code is available. The vulnerability mechanism is described in the referenced GitHub Security Advisory GHSA-6mj9-x3ww-rpj9.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-100613
Indicators of Compromise
- Rows in channel_permission_overrides whose user_id has no corresponding membership record in the owning organization of the referenced channel.
- PostgREST API requests to channel-mutation endpoints originating from JWTs whose subject is not a current member of the channel's organization.
- Unexpected changes to a channel's bundle reference followed by anomalous spikes in /updates traffic serving a newly introduced bundle version.
Detection Strategies
- Query the database for channel_permission_overrides rows that reference users absent from the org_users (or equivalent membership) table for the channel's current organization.
- Correlate transfer_app() execution events with subsequent channel updates performed by users who were members of the prior organization only.
- Review PostgREST audit logs for PATCH or UPDATE requests on channel records that modify bundle linkage shortly after an app ownership change.
Monitoring Recommendations
- Enable logging of all mutations to the channels and channel_permission_overrides tables with user, timestamp, and before/after values.
- Alert on any change to a channel's active bundle that is not initiated by a user with a current RBAC binding in the owning organization.
- Monitor the /updates endpoint for sudden shifts in the bundle version served to a channel population, especially following administrative transfers.
How to Mitigate CVE-2026-100613
Immediate Actions Required
- Audit the channel_permission_overrides table and delete any row whose user is not a current member of the channel's owning organization.
- Freeze or manually review all pending app transfers until a fix is applied.
- Rotate JWTs for users who were removed from organizations following prior app transfers to invalidate retained sessions.
- Review recent bundle changes on transferred apps and roll back any unauthorized bundle assignments.
Patch Information
No patched release of capgo.app is available at the time of publication. Monitor the Cap-go/capgo.app Security Advisories page for a vendor fix. The remediation must extend transfer_app() to delete or revalidate channel_permission_overrides rows as part of the transfer transaction, rather than relying solely on the membership check introduced in PR #3093.
Workarounds
- Implement a database trigger on the apps table that deletes channel_permission_overrides for an app whenever its owning organization changes.
- Add a scheduled job that reconciles overrides against current organization membership and removes stale entries.
- Restrict use of transfer_app() to administrators and require a documented post-transfer audit of all channel permissions.
# Example reconciliation query to identify stale overrides
# Review results before deleting in production
SELECT cpo.*
FROM channel_permission_overrides cpo
JOIN channels c ON c.id = cpo.channel_id
LEFT JOIN org_users ou
ON ou.user_id = cpo.user_id
AND ou.org_id = c.org_id
WHERE ou.user_id IS NULL;
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

