Skip to main content
EPSS 0.3%top 84%

CVE-2026-70665: CWE-285: Improper Authorization in doorkeeper-gem doorkeeper-openid_connect

0
Medium
VulnerabilityCVE-2026-70665cvecve-2026-70665cwe-285
Published: 08/25/2026 (08/25/2026, 22:09:53 UTC)
Source: CVE Database V5
Vendor/Project: doorkeeper-gem
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected software

doorkeeper-gem

doorkeeper-openid_connect

Affected versions
<1.10.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 12:40:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses