Description
Doorkeeper is an OAuth 2 provider for Ruby on Rails. In version 1.9.0, an attacker who knows only a dynamically registered client's client_id, which is public information, can authenticate as that client at the token endpoint and obtain an access token without providing its client_secret. This occurs because the Dynamic Client Registration feature creates applications with confidential: false hard-coded, even though the registration response returns a client_secret and advertises support for the client_secret_basic and client_secret_post authentication methods; since Doorkeeper treats a blank or missing secret as valid for non-confidential (public) clients, the secret is never verified. Only projects that have explicitly enabled Dynamic Client Registration, which is disabled by default, are affected. This issue is fixed in version 1.10.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| doorkeeper-gem | doorkeeper-openid_connect | >= 1.9.0, < 1.10.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-doorkeeper-openid-connect | 1.10.1-1 | — |
| Debian 13 | ruby-doorkeeper-openid-connect | No fix yet | — |
| Debian 12 | ruby-doorkeeper-openid-connect | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | ruby-doorkeeper-openid-connect | No fix yet | — |
| Ubuntu 24.04 LTS | ruby-doorkeeper-openid-connect | No fix yet | — |
| Ubuntu 22.04 LTS | ruby-doorkeeper-openid-connect | No fix yet | — |
| Ubuntu 20.04 LTS | ruby-doorkeeper-openid-connect | No fix yet | — |
| Ubuntu 18.04 LTS | ruby-doorkeeper-openid-connect | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | doorkeeper-openid_connect | >= 1.9.0, < 1.10.0 | 1.10.0 | GHSA-m6vc-f87m-cc2h |