PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-70665 doorkeeper-gem CVE debrief

CVE-2026-70665 is a medium-severity vulnerability in Doorkeeper OpenID Connect, a gem that implements an OpenID Connect authentication provider for Rails applications. The issue allows a self-registered client to obtain scopes beyond what the server intended to grant due to a lack of validation on client-supplied scopes. This vulnerability is fixed in version 1.10.4.

Vendor
doorkeeper-gem
Product
doorkeeper-openid_connect
CVSS
MEDIUM 4.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-25
Original CVE updated
2026-09-09
Advisory published
2026-08-25
Advisory updated
2026-09-09

Who should care

Defenders responsible for OpenID Connect implementations using Doorkeeper OpenID Connect should assess exposure and take remediation steps. This includes verifying if the implementation uses a vulnerable version of Doorkeeper OpenID Connect, upgrading to version 1.10.4 or later if vulnerable, and restricting client-supplied scopes to prevent unauthorized access. Additionally, defenders should review compensating controls for exposed systems while and

Why it matters

CVE-2026-70665 is a medium-severity vulnerability in Doorkeeper OpenID Connect that allows self-registered clients to obtain excessive scopes, potentially leading to unauthorized access and data compromise. Defenders should verify exposure, upgrade to version 1.10.4 if vulnerable, and restrict client-supplied scopes.

  • Potential unauthorized access to protected resources due to excessive scopes granted to self-registered clients.
  • Need to verify and restrict client-supplied scopes to prevent privilege escalation.
  • Possible impact on the confidentiality and integrity of user data.

Technical summary

The Dynamic Client Registration (DCR) endpoint in Doorkeeper OpenID Connect does not validate client-supplied scopes against the server's configured scope set, allowing a self-registered client to obtain scopes beyond what the server intended to grant. This issue is fixed in version 1.10.4. The vulnerability arises from the assignment of scopes directly from params[:scope] without validation against Doorkeeper.configuration.scopes or optional_scopes in DynamicClientRegistrationController#application_params. This allows self-registered clients to obtain scopes beyond what the server intended to grant, potentially leading to unauthorized access and data compromise.

Defensive priority

Defenders should prioritize verifying exposure in their OpenID Connect implementations and upgrading to version 1.10.4 if vulnerable.

Recommended defensive actions

  • Verify if the OpenID Connect implementation uses a vulnerable version of Doorkeeper OpenID Connect.
  • Upgrade to version 1.10.4 or later if vulnerable.
  • Review and restrict client-supplied scopes to prevent unauthorized access.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, its impact, and the fix. Additional information on affected deployments is limited; defenders should verify exposure in their OpenID Connect implementations using Doorkeeper OpenID Connect and review client-supplied scopes to prevent unauthorized access. The Dynamic Client Registration (DCR) endpoint's lack of validation on client-supplied scopes allows self-registered clients to obtain scopes beyond what the server intended to grant. This issue is fixed in version 1.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-70665 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-70665

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-70665 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-70665

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/doorkeeper-gem/doorkeeper-openid_connect/commit/24c3cb1729b69f48649a6f4491dcae69f805000d

    [email protected]

  • Source reference

    Unverified legacy reference

    URL: https://github.com/doorkeeper-gem/doorkeeper-openid_connect/security/advisories/GHSA-8r7r-wh7x-27ff

    [email protected]

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.