Open redirect in the authorization endpoint's deny path
Published: September 24, 2026
SECURITY IDENTIFIERS
- GHSA: GHSA-86wh-7qgj-4px7
- Vendor Advisory: https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-86wh-7qgj-4px7
GEM
SEVERITY
CVSS v3.x: 4.7 (Medium)
UNAFFECTED VERSIONS
< 0.1.0
PATCHED VERSIONS
~> 5.9.9
>= 6.0.0.rc2
DESCRIPTION
DELETE /oauth/authorize (the "deny" action of Doorkeeper::AuthorizationsController) builds and sends its access_denied error response without validating client_id, redirect_uri or response_type first. An authenticated resource owner can therefore be redirected — or form_post-submitted — to an arbitrary, unregistered URI supplied in then request, and a missing redirect_uri raises an unhandled exception (HTTP 500).
RELATED
- https://rubygems.org/gems/doorkeeper/versions/6.0.0.rc2
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v6.0.0.rc2
- https://rubygems.org/gems/doorkeeper/versions/5.9.9
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v5.9.9
- https://github.com/doorkeeper-gem/doorkeeper/pull/1910
- https://github.com/doorkeeper-gem/doorkeeper/pull/1816
- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-86wh-7qgj-4px7
