{"id":"CVE-2026-63203","published":"2026-09-24T16:17:08.700","lastModified":"2026-09-24T16:17:08.837","description":"Logto is the modern, open-source auth infrastructure for SaaS and AI apps. From 1.31.0 until 1.42.0, the Account API handlers in packages/core/src/routes/account/third-party-tokens.ts allow a caller holding a same-user access token with only the openid scope to retrieve stored social or enterprise SSO provider access tokens through GET /api/my-account/identities/{target}/access-token or GET /api/my-account/sso-identities/{connectorId}/access-token. The handlers authenticate the user but do not require the identities scope that protects neighboring identity-detail operations, bypassing the intended Account API consent boundary. Exploitation requires federated token-set storage to be enabled and the affected user to have authenticated through a supported connector. A low-trust application can use the disclosed provider token against upstream APIs within that token's granted scopes. This issue is fixed in version 1.42.0.","cvssScore":7.6,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","cwes":["CWE-862"],"vendors":[],"products":[],"references":[{"url":"https://github.com/logto-io/logto/commit/b560d17a4da4c25da95e3c73af4485d18ab7c224","tags":[]},{"url":"https://github.com/logto-io/logto/pull/9116","tags":[]},{"url":"https://github.com/logto-io/logto/releases/tag/v1.42.0","tags":[]},{"url":"https://github.com/logto-io/logto/security/advisories/GHSA-6g9q-qrx7-3jxf","tags":[]},{"url":"https://github.com/logto-io/logto/security/advisories/GHSA-6g9q-qrx7-3jxf","tags":[]}],"exploitRefs":[{"url":"https://github.com/logto-io/logto/commit/b560d17a4da4c25da95e3c73af4485d18ab7c224","tags":[]},{"url":"https://github.com/logto-io/logto/pull/9116","tags":[]},{"url":"https://github.com/logto-io/logto/releases/tag/v1.42.0","tags":[]},{"url":"https://github.com/logto-io/logto/security/advisories/GHSA-6g9q-qrx7-3jxf","tags":[]},{"url":"https://github.com/logto-io/logto/security/advisories/GHSA-6g9q-qrx7-3jxf","tags":[]}],"hasPoc":true,"ai":{"summary":"Logto's Account API allowed users with only openid scope access tokens to retrieve stored social or enterprise SSO provider access tokens, bypassing intended consent boundaries. This creates a privilege escalation where low-trust applications can access upstream APIs using these disclosed tokens.","exploitability":"Exploitation requires a same-user access token with openid scope and federated token storage enabled, making it moderately difficult but possible for attackers to leverage into unauthorized API access.","blast_radius":"The impact could be significant as compromised tokens may allow attackers to access upstream services like Google APIs or enterprise identity providers using the granted scopes of the disclosed tokens.","remediation":"Upgrade to version 1.42.0 or later to fix the authentication bypass in Account API handlers.","detection":"Monitor for GET requests to /api/my-account/identities/{target}/access-token and /api/my-account/sso-identities/{connectorId}/access-token endpoints with openid scope tokens, especially when federated token storage is enabled.","tags":["auth-bypass","sso","api"],"model":"garnet-coder","analyzedAt":"2026-10-12T08:53:53.090Z"}}