{"id":"CVE-2026-70665","aliases":["CVE-2026-70665"],"related":[],"kind":"vulnerability","state":"published","title":"Doorkeeper OpenID Connect: DCR endpoint persists unvalidated client-supplied scopes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2026-08-25T22:09:53.197Z","modified":"2026-09-09T21:09:13.080Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"}],"cwes":["CWE-285"],"affected":[{"ranges":[{"version":"< 1.10.4","status":"affected"}],"vendor":"doorkeeper-gem","product":"doorkeeper-openid_connect","source":"cvelist"}],"references":[{"url":"https://github.com/doorkeeper-gem/doorkeeper-openid_connect/security/advisories/GHSA-8r7r-wh7x-27ff","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/doorkeeper-gem/doorkeeper-openid_connect/commit/24c3cb1729b69f48649a6f4491dcae69f805000d","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-27T13:52:58.639Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-70665","url":"https://www.cve.org/CVERecord?id=CVE-2026-70665","licence":"CVE Terms of Use","modified":"2026-08-27T14:34:50.455Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-70665","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70665","licence":"Public domain","modified":"2026-09-09T21:09:13.080Z"}],"updatedAt":"2026-11-25T22:59:35.322Z","epss":{"score":0.00163,"percentile":0.05784,"date":"2026-12-01T12:00:22.000Z"}}