{"id":"CVE-2026-88862","aliases":["CVE-2026-88862"],"related":[],"kind":"vulnerability","state":"published","title":"Capgo API Key Manager Authentication Bypass via x-limited-key-id","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-10T13:05:19.116Z","modified":"2026-09-30T18:18:41.933Z","severity":{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"12.242.4","status":"affected"}],"vendor":"Cap-go","product":"capgo.app","source":"cvelist"}],"references":[{"url":"https://github.com/Cap-go/capgo.app/security/advisories/GHSA-5hjr-xhx8-x5j7","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/capgo-api-key-manager-authentication-bypass-via-x-limited-key-id","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Judel777"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-10T14:26:27.714Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-88862","url":"https://www.cve.org/CVERecord?id=CVE-2026-88862","licence":"CVE Terms of Use","modified":"2026-09-30T17:20:33.477Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-88862","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88862","licence":"Public domain","modified":"2026-09-30T18:18:41.933Z"}],"updatedAt":"2026-11-25T22:59:37.837Z","epss":{"score":0.00311,"percentile":0.25833,"date":"2026-12-01T12:00:22.000Z"}}