๐Ÿ” CVE Alert

CVE-2026-70665

MEDIUM 4.2

Doorkeeper OpenID Connect: DCR endpoint persists unvalidated client-supplied scopes

CVSS Score
4.2
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-285
Vendor doorkeeper-gem
Product doorkeeper-openid_connect
Published Aug 25, 2026
Stay Ahead of the Next One

Get instant alerts for doorkeeper-gem doorkeeper-openid_connect

Be the first to know when new medium vulnerabilities affecting doorkeeper-gem doorkeeper-openid_connect are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

doorkeeper-gem / doorkeeper-openid_connect
< 1.10.4

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/doorkeeper-gem/doorkeeper-openid_connect/security/advisories/GHSA-8r7r-wh7x-27ff github.com: https://github.com/doorkeeper-gem/doorkeeper-openid_connect/commit/24c3cb1729b69f48649a6f4491dcae69f805000d