Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape. Prior to 5.9.1, Doorkeeper's OAuth token revocation flow does not correctly authorize revocation requests when public, non-confidential clients are used, allowing tokens to be revoked without correct authorization. This issue is fixed in version 5.9.1.
https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-h5m9-42h9-vcq6
https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v5.9.1
https://github.com/doorkeeper-gem/doorkeeper/pull/1808
https://github.com/doorkeeper-gem/doorkeeper/commit/ecc1599ed762a9002c3e04729113eff0d562f4b4