CVE-2026-70665: CWE-285: Improper Authorization in doorkeeper-gem doorkeeper-openid_connect
Description
Doorkeeper OpenID Connect versions prior to 1.10.4 have an improper authorization vulnerability in the Dynamic Client Registration endpoint. The endpoint accepts client-supplied scopes without validating them against the server's configured scopes, allowing self-registered clients to obtain unauthorized scopes. This privilege escalation is due to the scopes attribute being assigned directly from user input without validation, combined with default configuration settings that do not enforce scope restrictions. The issue is fixed in version 1.10.4.
CVSS v3.1
Score 4.2medium
Affected software
doorkeeper-gem
doorkeeper-openid_connect
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Doorkeeper OpenID Connect, a Rails authentication provider built on Doorkeeper, improperly authorizes scope assignments during Dynamic Client Registration prior to version 1.10.4. Specifically, the DynamicClientRegistrationController#application_params method assigns the scopes attribute directly from params[:scope] without validating against the server's configured scopes or optional scopes. Because enforce_configured_scopes is off by default and Doorkeeper's ScopeChecker prioritizes application-level scopes, a self-registered client can escalate privileges by obtaining scopes beyond those intended by the server. This vulnerability is addressed in version 1.10.4.
Potential Impact
An attacker who self-registers a client can obtain unauthorized scopes, potentially gaining elevated privileges within the OpenID Connect authentication system. The impact is limited to scope escalation and does not directly affect confidentiality or availability. The CVSS score of 4.2 reflects a medium severity with low confidentiality and integrity impact and no availability impact.
Mitigation Recommendations
Upgrade to doorkeeper-openid_connect version 1.10.4 or later, where this improper authorization issue is fixed. Until upgraded, consider enabling enforce_configured_scopes to enforce scope validation. No other vendor advisory or patch information is provided, so check the official vendor resources for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-04T21:48:08.613Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8e15bfacd9273b49c852a8
Added to database: 08/25/2026, 22:22:55 UTC
Last enriched: 09/10/2026, 12:40:09 UTC
Last updated: 10/09/2026, 06:48:19 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.