KeygraphLabs · CVE MCP

CVE-2016-6582 · mitre

CVE-2016-6582

The Doorkeeper gem before 4.2.0 for Ruby might allow remote attackers to conduct replay attacks or revoke arbitrary tokens by leveraging failure to implement the OAuth 2.0 Token Revocation specification.

Published 2017-01-23, last changed 2026-06-17. Weakness: CWE-254.

CVSS
9.1
critical, from NVD
EPSS
4.81%
percentile 92.2%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: doorkeeper 4.2.0 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in doorkeeper-gem/doorkeeper by c846335ad7, fb93805177. Functions changed by the fix: revoke, revoke_token, authorized?, token. Regression tests: spec/controllers/tokens_controller_spec.rb, spec/requests/flows/revoke_token_spec.rb. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2017-01-23Published
2017-10-24Package advisory GHSA-3m6r-39p3-jq25
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 4.81%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-3m6r-39p3-jq25doorkeeper (RubyGems)4.2.0

Also known as: GHSA-3m6r-39p3-jq25

Related

CVEPublishedCVSSSummary
CVE-2026-1154722026-11-176.5Doorkeeper: When using public clients, any client can revoke any access token
CVE-2023-342462023-06-126.5Doorkeeper Improper Authentication vulnerability
CVE-2020-101872020-05-047.5same package: doorkeeper (RubyGems)
CVE-2018-10002112018-07-137.5same package: doorkeeper (RubyGems)
CVE-2018-10000882018-03-136.1same package: doorkeeper (RubyGems)
CVE-2014-81442014-12-316.8same package: doorkeeper (RubyGems)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-6582, or call /api/v1/vulnerabilities/CVE-2016-6582. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org