Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-70665— Doorkeeper OpenID Connect: DCR endpoint persists unvalidated client-supplied scopes

Quick assessment

Affected
doorkeeper-gem doorkeeper-openid_connect
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Doorkeeper OpenID Connect 基于 Doorkeeper 为 Rails 应用实现了 OpenID Connect 认证提供者。在 1.10.4 版本之前,动态客户端注册(Dynamic Client Registration, DCR)端点会持久化客户端提供的 scopes(权限范围),而未对这些 scopes 与服务端配置的 scopes 集合进行验证。在某些条件下,这允许自行注册的客户端获取超出服务端预期授权范围的 scopes。 在 方法中, 属性直接从 赋值,未与 或 进行任何校验。

CVSS 4.2 · Medium

Possible ATT&CK Techniques 1 AI

T1556 · Modify Authentication Process
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-70665

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Doorkeeper OpenID Connect: DCR endpoint persists unvalidated client-supplied scopes
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
doorkeeper-gem doorkeeper-openid_connect < 1.10.4 -

II. Public POCs for CVE-2026-70665

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-70665

登录查看更多情报信息。

Patches & Fixes for CVE-2026-70665 (1)

Vendor Advisories for CVE-2026-70665 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-70665

No comments yet


Leave a comment