{"id":"CVE-2026-88862","revision":"285e8c9b4e004db1bd9e8dfe767e9d6b","records":[{"revision":"285e8c9b4e004db1bd9e8dfe767e9d6b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-88862","aliases":[],"title":"Capgo API Key Manager Authentication Bypass via x-limited-key-id","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.","state":0,"publishedAt":"2026-09-10T13:05:19.116+00:00","modifiedAt":"2026-09-30T17:20:33.477+00:00","affected":[{"ecosystem":"Vendor product","name":"capgo.app","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Cap-go\",\n                    \"product\": \"capgo.app\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"12.242.4\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/Cap-go/capgo.app/security/advisories/GHSA-5hjr-xhx8-x5j7","https://www.vulncheck.com/advisories/capgo-api-key-manager-authentication-bypass-via-x-limited-key-id"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-88862","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-88862","identifiers":["CVE-2026-88862"]},"retained":false,"historicalAffected":[]}],"coverage":[]}