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.
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-23 | Published |
| 2017-10-24 | Package advisory GHSA-3m6r-39p3-jq25 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 4.81% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-3m6r-39p3-jq25 | doorkeeper (RubyGems) | 4.2.0 |
Also known as: GHSA-3m6r-39p3-jq25
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-115472 | 2026-11-17 | 6.5 | Doorkeeper: When using public clients, any client can revoke any access token |
| CVE-2023-34246 | 2023-06-12 | 6.5 | Doorkeeper Improper Authentication vulnerability |
| CVE-2020-10187 | 2020-05-04 | 7.5 | same package: doorkeeper (RubyGems) |
| CVE-2018-1000211 | 2018-07-13 | 7.5 | same package: doorkeeper (RubyGems) |
| CVE-2018-1000088 | 2018-03-13 | 6.1 | same package: doorkeeper (RubyGems) |
| CVE-2014-8144 | 2014-12-31 | 6.8 | same 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.