Vulnerabilities in pkg:gem/doorkeeper

PACKAGE
Advisory Identifier: GHSA-h5m9-42h9-vcq6
Advisory Summary

CVE-2026-115472 is a MODERATE (CVSS 6.5) when using public clients, any vulnerability (CWE-285: Improper Authorization) affecting Doorkeeper libraries in the RubyGems ecosystem. The issue involves when using public clients, any client can revoke any access token. Remediation is available by upgrading affected packages to version 5.9.1.

8 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/doorkeeper

8 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/doorkeeper. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-h5m9-42h9-vcq6 CVE-2026-115472 MODERATE Doorkeeper: When using public clients, any client can revoke any access token
GHSA-685w-vc84-wxcx CVE-2014-8144 MODERATE Doorkeeper vulnerable to Cross-site Request Forgery
GHSA-7w2c-w47h-789w CVE-2023-34246 MODERATE Doorkeeper Improper Authentication vulnerability
GHSA-694m-jhr9-pf77 CVE-2018-1000211 HIGH Doorkeeper subject to Incorrect Permission Assignment
GHSA-hwhh-2fwm-cfgw CVE-2018-1000088 MODERATE Doorkeeper is vulnerable to stored XSS and code execution
GHSA-3m6r-39p3-jq25 CVE-2016-6582 CRITICAL Doorkeeper is vulnerable to replay attacks
GHSA-j7vx-8mqj-cqp9 CVE-2020-10187 HIGH Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper
GHSA-5p9f-55j8-922m - MODERATE Moderate severity vulnerability that affects doorkeeper

CVE-2026-115472 at a Glance

CVE Identifier CVE-2026-115472
GHSA Identifier GHSA-h5m9-42h9-vcq6
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-285: Improper Authorization
Affected Product Doorkeeper
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-115472

To remediate this vulnerability, upgrade all affected Doorkeeper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

doorkeeper fixed: 5.9.1
Upgrade doorkeeper to 5.9.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for doorkeeper

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-115472, inspect your project dependencies for Doorkeeper:

inspect dependencies for doorkeeper

Analyze the terminal output to locate any version of Doorkeeper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.9.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Doorkeeper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-115472 Affected Doorkeeper Versions

1 component(s)
Fixed Versions:
5.9.1
Product / Package Ecosystem Affected Versions Fixed Version
doorkeeper
RubyGems
< 5.9.1
5.9.1

References

Frequently Asked Questions

What is CVE-2026-115472?
CVE-2026-115472 is a security vulnerability in Doorkeeper involving When using public clients, any client can revoke any access token under CWE-285: Improper Authorization.
Which Doorkeeper versions are affected?
Affected versions include releases prior to 5.9.1 across affected packages: doorkeeper.
What version fixes CVE-2026-115472?
Upgrading to 5.9.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is doorkeeper affected?
Yes, doorkeeper is affected in releases prior to 5.9.1. Upgrade your dependency to 5.9.1 or later.
What is the CVSS score of CVE-2026-115472?
CVE-2026-115472 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-115472?
CVE-2026-115472 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check RubyGems dependencies for CVE-2026-115472?
Run the dependency tree command: 'inspect dependencies for doorkeeper'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h5m9-42h9-vcq6",
  "modified" : "2026-11-19T20:47:25Z",
  "published" : "2026-11-19T20:47:25Z",
  "aliases" : [ "CVE-2026-115472" ],
  "summary" : "Doorkeeper: When using public clients, any client can revoke any access token",
  "details" : "### Summary\n\nAn 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" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "doorkeeper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.9.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-h5m9-42h9-vcq6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-115472"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/doorkeeper-gem/doorkeeper/pull/1808"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/doorkeeper-gem/doorkeeper/commit/ecc1599ed762a9002c3e04729113eff0d562f4b4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/doorkeeper-gem/doorkeeper"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v5.9.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-19T20:47:25Z",
    "nvd_published_at" : "2026-11-17T22:18:52Z"
  }
}