{"apiVersion":"1.0","identifier":"CVE-2026-70665","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.","publishedAt":"2026-08-25T23:17:58","lastModifiedAt":"2026-08-27T17:19:43","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-70665","cvssScore":4.2,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","epssProbability":0.00163,"riskScore":0.43,"affectedProduct":"doorkeeper-openid_connect","affectedVersions":"<1.10.4","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-70665","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-70665","en":"https://www.redsauce.net/en/cves/CVE-2026-70665","fr":"https://www.redsauce.net/fr/cves/CVE-2026-70665","pt":"https://www.redsauce.net/pt/cves/CVE-2026-70665","de":"https://www.redsauce.net/de/cves/CVE-2026-70665","sk":"https://www.redsauce.net/sk/cves/CVE-2026-70665","el":"https://www.redsauce.net/el/cves/CVE-2026-70665"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-70665"}}