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.
Published: 2026-09-24
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Potential disclosure of third‑party provider access tokens
Action: Apply patch
AI Analysis

Impact

Affected Logto installations exposed stored social or enterprise SSO provider access tokens through two GET endpoints. A caller with a same‑user access token that only requested the openid scope could query /api/my-account/identities/{target}/access-token or /api/my-account/sso-identities/{connectorId}/access-token. The handlers authenticated the user but did not enforce the identities scope that is normally required for identity‑detail operations, creating a scope‑bypass that allows unintended disclosure of provider tokens.

Affected Systems

The vulnerability exists in Logto versions 1.31.0 through 1.42.0 inclusive. The product is the Logto open‑source authentication platform used for SaaS and AI applications. If federated token‑set storage is enabled and a user authenticates through a supported third‑party connector, the compromised endpoints will return the provider’s access token for that user.

Risk and Exploitability

The CVSS score of 7.6 indicates a high impact. An attacker must possess a valid same‑user token for the victim and the target application must have enabled federated token storage. Once the provider token is retrieved, a malicious application with a low‑trust profile can use it against upstream APIs within the token’s scope, potentially impersonating the user or accessing protected resources. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the design flaw is a missing authorization control (CWE‑862). Exploitation requires API access but no elevated privileges beyond a legitimate user token.

Generated by OpenCVE AI on September 25, 2026 at 10:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Logto to version 1.42.0 or later to remove the flawed endpoints.
  • If immediate upgrade is not possible, disable federated token‑set storage or purge stored third‑party tokens so the data can no longer be retrieved.
  • Restrict or re‑architect applications that only request the openid scope to also require the identities scope when interacting with user‑account endpoints.

Generated by OpenCVE AI on September 25, 2026 at 10:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Logto-io
Logto-io logto
Vendors & Products Logto-io
Logto-io logto

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title Logto: Account API can disclose stored third-party provider tokens without the identities scope
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-24T15:47:41.056Z

Reserved: 2026-07-15T22:19:06.905Z

Link: CVE-2026-63203

cve-icon Vulnrichment

Updated: 2026-09-24T15:47:30.503Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T16:17:08.700

Modified: 2026-09-24T16:17:08.837

Link: CVE-2026-63203

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T11:00:12Z

Weaknesses