CVE-2026-70665Doorkeeper OpenID Connect: DCR endpoint persists unvalidated client-supplied scopes
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | ruby-doorkeeper-openid-connect | Under investigation | UBUNTU-CVE-2026-70665 | |
| Ubuntu 24.04 | ruby-doorkeeper-openid-connect | Under investigation | UBUNTU-CVE-2026-70665 | |
| Ubuntu 22.04 | ruby-doorkeeper-openid-connect | Under investigation | UBUNTU-CVE-2026-70665 | |
| Ubuntu 20.04 | ruby-doorkeeper-openid-connect | Fix pending | UBUNTU-CVE-2026-70665 | |
| Ubuntu 18.04 | ruby-doorkeeper-openid-connect | Fix pending | UBUNTU-CVE-2026-70665 | |
| Debian 14 | ruby-doorkeeper-openid-connect | Fixed | 1.10.5-1 | DEBIAN-CVE-2026-70665 |
| Debian 13 | ruby-doorkeeper-openid-connect | Fix pending | DEBIAN-CVE-2026-70665 | |
| Debian 12 | ruby-doorkeeper-openid-connect | Fix pending | DEBIAN-CVE-2026-70665 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- doorkeeper-gem doorkeeper-openid_connect: affected: < 1.10.4
References
- https://github.com/doorkeeper-gem/doorkeeper-openid_connect/security/advisories/GHSA-8r7r-wh7x-27ff
- https://github.com/doorkeeper-gem/doorkeeper-openid_connect/commit/24c3cb1729b69f48649a6f4491dcae69f805000d
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.