CVE-2026-70665

Source
https://cve.org/CVERecord?id=CVE-2026-70665
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70665.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-70665
Aliases
  • GHSA-8r7r-wh7x-27ff
Downstream
Published
2026-08-25T22:09:53.197Z
Modified
2026-08-28T03:30:23.432688741Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Doorkeeper OpenID Connect: DCR endpoint persists unvalidated client-supplied scopes
Details

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#applicationparams, the scopes attribute is assigned directly from params[:scope] with no validation against Doorkeeper.configuration.scopes or optionalscopes. Combined with enforceconfiguredscopes 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70665.json",
    "cwe_ids": [
        "CWE-285"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/doorkeeper-gem/doorkeeper-openid_connect

Affected ranges

Type
GIT
Repo
https://github.com/doorkeeper-gem/doorkeeper-openid_connect
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.10.4"
        }
    ]
}

Affected versions

v.*
v.1.8.9
v1.*
v1.0.0
v1.0.1
v1.1.0
v1.1.1
v1.1.2
v1.10.0
v1.10.1
v1.10.2
v1.10.3
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.5.5
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.7.0
v1.7.1
v1.7.2
v1.7.3
v1.7.4
v1.7.5
v1.8.0
v1.8.0.pre.rc1
v1.8.1
v1.8.10
v1.8.11
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.8.6
v1.8.7
v1.8.8
v1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70665.json"