Skip to content

chore(deps): update dependency doorkeeper to v5.9.1 [security] - #642

Open
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/rubygems-doorkeeper-vulnerability
Open

renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/rubygems-doorkeeper-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
doorkeeper (changelog) 5.8.2 → 5.9.1 age confidence

Doorkeeper: When using public clients, any client can revoke any access token

CVE-2026-115472 / GHSA-h5m9-42h9-vcq6

More information

Details

Summary

An improper authorization issue affects Doorkeeper's OAuth token revocation flow when public (non-confidential) clients are in use. This vulnerability can lead to tokens being revoked without correct authorization. The issue is fixed in Doorkeeper 5.9.1.

Severity

  • CVSS Score: 6.5 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

doorkeeper-gem/doorkeeper (doorkeeper)

v5.9.1

  • [#​1781] Honor handle_auth_errors :raise in AuthorizationsController#authorize_response

  • [#​1795] Fix: detailed error 'insufficient_scope' in protected resources 403s

  • [#​1797] Fix doorkeeper:db:cleanup rake task failure on PostgreSQL

  • [#​1800] Set @grant_type in ClientCredentialsRequest and RefreshTokenRequest constructors so request.grant_type returns
    the correct value in hooks like before_successful_strategy_response.

  • [#​1801] Fix hash_application_secrets fallback not upgrading secret on access.

  • [#​1802] Fix filter_parameters not applied when Doorkeeper.configure is called inside to_prepare.

  • [#​1804] Use ActiveSupport.on_load(:active_record) in ORM hooks to prevent loading ActiveRecord models too early

  • [#​1806] Fix token revocation bypass for public clients (RFC 7009)

  • [#​1815] Expose current_resource_owner as a view helper in Doorkeeper::ApplicationController.

  • [#​1818] Fix token introspection returning exp: 0 for non-expiring tokens.

  • [#​1784] Remove hardcoded colons from view templates, move punctuation to i18n translation strings.

    [IMPORTANT]: if you have customized Doorkeeper views (authorizations/new, authorizations/show,
    applications/show) or overridden the default en.yml translations, you may need to update them.
    Colons are no longer hardcoded in the views — they are now part of the translation strings.
    Update the doorkeeper-i18n gem to get the
    updated translations for all locales.

  • [#​1820] Remove dead wildcard presence check in Scopes#dynamic_scope_match? (internal cleanup, no behavior change).

  • [#​1822] Update Rubocop config, auto-corrections.

  • [#​1823] Update Rubocop config, part 2.

  • [#​1825] Update Rubocop config, part 3.

  • [#​1821] Fix noisy Could not find command "no_previous_refresh_token_column?" Thor output during the
    PreviousRefreshTokenGenerator spec by stubbing the underlying DB column check instead of the generator's
    private method (test-only change).

v5.9.0

  • [#​1791] Add support for Rails read replicas with automatic role switching via enable_multiple_database_roles configuration option
  • [#​1792] Consider expires_in when clear expired tokens with StaleRecordsCleaner.
  • [#​1790] Fix race condition in refresh token revocation check by moving InvalidGrantReuse check inside the lock block
  • [#​1788] Fix regex for basic auth to be case-insensitive
  • [#​1775] Fix Applications Secret Not Null Constraint generator
  • [#​1779] Only lock previous access token model when creating a new token from its refresh token if revoke_previous_refresh_token_on_use is false
  • [#​1778] Ensure that token revocation is idempotent by checking that that token has not already been revoked before revoking.

Configuration

📅 Schedule: (in timezone Europe/Amsterdam)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 20, 2026
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a18cd8bc-fa42-45f7-9227-9a5f3201fa25

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.92%. Comparing base (056ae6a) to head (64410e8).

Additional details and impacted files
@@           Coverage Diff            @@
##           staging     #642   +/-   ##
========================================
  Coverage    99.92%   99.92%           
========================================
  Files          200      200           
  Lines         2700     2700           
========================================
  Hits          2698     2698           
  Misses           2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants