Description
Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape. Prior to version 5.6.6, Doorkeeper automatically processes authorization requests without user consent for public clients that have been previous approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured. This issue is fixed in version 5.6.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| doorkeeper-gem | doorkeeper | < 5.6.6 | — |
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 | 5.6.6-2 | — |
| Debian 13 | ruby-doorkeeper | 5.6.6-2 | — |
| Debian 12 | ruby-doorkeeper | 5.5.0-2+deb12u1 | — |
| Debian 11 | ruby-doorkeeper | 5.3.0-2+deb11u1 | DLA-3989-1 |
| Debian 10 | ruby-doorkeeper | 4.4.2-1+deb10u1 | DLA-3494-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | ruby-doorkeeper | 5.5.0-2ubuntu0.22.04.1 | USN-6210-1 |
| Ubuntu 20.04 LTS | ruby-doorkeeper | 5.0.2-2ubuntu0.1 | USN-6210-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | ruby-doorkeeper | 4.3.1-1ubuntu0.1~esm1 | USN-6210-1 |
| Ubuntu Pro 16.04 LTS | ruby-doorkeeper | 2.2.1-1ubuntu0.1~esm1 | USN-6210-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | doorkeeper | < 5.6.6 | 5.6.6 | GHSA-7w2c-w47h-789w |
Advisories 3
- USN-6210-1 ruby-doorkeeper vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3494-1 ruby-doorkeeper - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3989-1 ruby-doorkeeper - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-7w2c-w47h-789w
- https://github.com/doorkeeper-gem/doorkeeper/issues/1589
- https://github.com/doorkeeper-gem/doorkeeper/pull/1646
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v5.6.6
- https://www.rfc-editor.org/rfc/rfc8252#section-8.6
- https://lists.debian.org/debian-lts-announce/2023/07/msg00016.html