CVE-2026-70665
published medium CVSS 3.1 · 4.2Doorkeeper OpenID Connect: DCR endpoint persists unvalidated client-supplied scopes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| doorkeeper-gem | — | doorkeeper-openid_connect< 1.10.4 | Affected | Not stated | GitHub_M |
Description
Doorkeeper OpenID Connect implements an OpenID Connect authentication provider for Rails applications on top of Doorkeeper. Prior to 1.10.4, the Dynamic Client Registration (DCR) endpoint persists client-supplied scopes without validating them against the server's configured scope set. Under certain conditions, this allows a self-registered client to obtain scopes beyond what the server intended to grant. In DynamicClientRegistrationController#application_params, the scopes attribute is assigned directly from params[:scope] with no validation against Doorkeeper.configuration.scopes or optional_scopes. Combined with enforce_configured_scopes being off by default and Doorkeeper's ScopeChecker prioritizing application-level scopes over server-level scopes, this creates a privilege escalation path. This issue is fixed in version 1.10.4.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| doorkeeper-gem | doorkeeper-openid_connect | < 1.10.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-285 CWE-285: Improper Authorization
References
2Provider assertions
2GitHub_M · cna
Doorkeeper OpenID Connect: DCR endpoint persists unvalidated client-supplied scopes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 77889b8dc91d02a3de8835eeedeaed4aeae7a783fe87ae6d03df678746abb61e
- Ingested
- 23 Sep 2026, 09:29:10 UTC
- Source record
- Official CVE record