CVE-2026-88862
Last modified
CVE-2026-88862 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Capgo (capgo.app) backend through 12.242.4 does not validate parent-child delegation when processing the x-limited-key-id header. checkKeyByIdPg() in supabase/functions/_backend/utils/hono_middleware.ts resolves the attacker-supplied numeric API key ID using only the key ID, its expiration state, and the authenticating key's user_id, while hasLimitedRbacSubkeyScope() accepts any key with a non-organization (e.g., app-scoped) RBAC binding and validateSubkeyUser() only compares owning user IDs.
Description
Capgo (capgo.app) backend through 12.242.4 does not validate parent-child delegation when processing the x-limited-key-id header. checkKeyByIdPg() in supabase/functions/_backend/utils/hono_middleware.ts resolves the attacker-supplied numeric API key ID using only the key ID, its expiration state, and the authenticating key's user_id, while hasLimitedRbacSubkeyScope() accepts any key with a non-organization (e.g., app-scoped) RBAC binding and validateSubkeyUser() only compares owning user IDs. Because Capgo treats API keys as independent RBAC principals with separate role bindings, an authenticated apikey_manager API key with no application access can supply the numeric ID of a more privileged same-owner key and have the middleware replace the authenticated principal and effective API-key secret with that key (setSubkeyAuthContext), exercising an app_admin sibling's permissions without knowing or submitting its secret. The issue was reproduced on release 12.242.4 (commit b3d02cdbc23ac59990785acacd1f113c07458568) after the fix for GHSA-8h52-44r7-w343; at the time of the advisory no patched version was available.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-88862?
How severe is CVE-2026-88862?
How do I fix CVE-2026-88862?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-88856Joomla Extension - OrdaSoft.com - Authenticated, Privileged …9.4
- CVE-2026-88857Joomla Extension - OrdaSoft.com - Authenticated, Privileged …9.4
- CVE-2026-88859A flaw was found in Evolution. A remote attacker can exploit…6.3
- CVE-2026-8886The hk_shortcode plugin for WordPress is vulnerable to Store…6.4
- CVE-2026-88860Capgo fails to clean up channel permission overrides when a …6.3
- CVE-2026-88861Capgo (Cap-go/capgo.app) contains an authentication bypass a…8.3
- CVE-2026-88863capgo.app (npm package `capgo`) through version 12.207.1 doe…8.1
- CVE-2026-88864Capgo (capgo.app) fails to restrict direct write access to t…9.1
- CVE-2026-88865AVideo through commit c3edcc274c389816d434acadac07ee78eaf330…8.1
- CVE-2026-88866WWBN AVideo through commit c3edcc274c389816d434acadac07ee78e…8.7
- CVE-2026-88867WWBN AVideo, in versions up to and including commit c3edcc27…8.7
- CVE-2026-88868AVideo through commit c3edcc274c389816d434acadac07ee78eaf330…8.7
Are you affected by CVE-2026-88862?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
