UBUNTU-CVE-2026-70665

Source
https://ubuntu.com/security/CVE-2026-70665
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70665.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-70665
Upstream
Published
2026-08-25T23:17:00Z
Modified
2026-09-02T19:36:28Z
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
  • Ubuntu - medium
Summary
[none]
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#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.

References

Affected packages

Ubuntu:18.04:LTS
ruby-doorkeeper-openid-connect

Package

Name
ruby-doorkeeper-openid-connect
Purl
pkg:deb/ubuntu/ruby-doorkeeper-openid-connect?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.1.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-doorkeeper-openid-connect",
            "binary_version": "1.1.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70665.json"
Ubuntu:20.04:LTS
ruby-doorkeeper-openid-connect

Package

Name
ruby-doorkeeper-openid-connect
Purl
pkg:deb/ubuntu/ruby-doorkeeper-openid-connect?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.5.5-1
1.6.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-doorkeeper-openid-connect",
            "binary_version": "1.6.3-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70665.json"
Ubuntu:22.04:LTS
ruby-doorkeeper-openid-connect

Package

Name
ruby-doorkeeper-openid-connect
Purl
pkg:deb/ubuntu/ruby-doorkeeper-openid-connect?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.4-2
1.8.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-doorkeeper-openid-connect",
            "binary_version": "1.8.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70665.json"
Ubuntu:24.04:LTS
ruby-doorkeeper-openid-connect

Package

Name
ruby-doorkeeper-openid-connect
Purl
pkg:deb/ubuntu/ruby-doorkeeper-openid-connect?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.8.7-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-doorkeeper-openid-connect",
            "binary_version": "1.8.7-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70665.json"
Ubuntu:26.04:LTS
ruby-doorkeeper-openid-connect

Package

Name
ruby-doorkeeper-openid-connect
Purl
pkg:deb/ubuntu/ruby-doorkeeper-openid-connect?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.8.7-1
1.8.11-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-doorkeeper-openid-connect",
            "binary_version": "1.8.11-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70665.json"