CVEfocus › CVE database › CVE-2026-70665

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

CVSS 4.2 MediumEPSS 0.3% (higher than 11% of CVEs)Published 2026-08-25Updated 2026-08-27Assigner: GitHub_M

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-285

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

1Fixed
4Fix pending
3Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04ruby-doorkeeper-openid-connectUnder investigationUBUNTU-CVE-2026-70665
Ubuntu 24.04ruby-doorkeeper-openid-connectUnder investigationUBUNTU-CVE-2026-70665
Ubuntu 22.04ruby-doorkeeper-openid-connectUnder investigationUBUNTU-CVE-2026-70665
Ubuntu 20.04ruby-doorkeeper-openid-connectFix pendingUBUNTU-CVE-2026-70665
Ubuntu 18.04ruby-doorkeeper-openid-connectFix pendingUBUNTU-CVE-2026-70665
Debian 14ruby-doorkeeper-openid-connectFixed1.10.5-1DEBIAN-CVE-2026-70665
Debian 13ruby-doorkeeper-openid-connectFix pendingDEBIAN-CVE-2026-70665
Debian 12ruby-doorkeeper-openid-connectFix pendingDEBIAN-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.

References

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.