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

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-08-25T22:09:53.197Z
- Modified: 2026-09-09T21:09:13.080Z
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- doorkeeper-gem doorkeeper-openid_connect: < 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>

## Sources

- CVE List: [CVE-2026-70665](https://www.cve.org/CVERecord?id=CVE-2026-70665), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-70665](https://nvd.nist.gov/vuln/detail/CVE-2026-70665), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-70665 · Whole record: https://cve.day/CVE-2026-70665.json · Rebuilt by cve.day 2026-11-25T22:59:35.322Z
