RubySec

Providing security resources for the Ruby community

GHSA-86wh-7qgj-4px7 (doorkeeper): Open redirect in the authorization endpoint's deny path

Open redirect in the authorization endpoint's deny path

Published: September 24, 2026

SECURITY IDENTIFIERS

GEM

doorkeeper

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