Improper Authentication in Doorkeeper - #VU159528

 

Improper Authentication in Doorkeeper - #VU159528

Published: November 6, 2026 / Updated: November 6, 2026


Vulnerability identifier: #VU159528
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to cause incorrect client attribution for OAuth token issuance, revocation, or introspection under an unintended client identity.

The vulnerability exists due to Doorkeeper's client authentication component in lib/doorkeeper/oauth/client/credentials.rb accepting multiple simultaneous authentication methods instead of rejecting them as required by RFC 6749, with Client::Credentials.from_request returning the first non-blank credentials and silently discarding others without an error, warning, or log entry; the default client_credentials_methods checks HTTP Basic authentication before form parameters for /oauth/token, /oauth/revoke, and /oauth/introspect. An unauthenticated remote attacker can submit requests containing Basic credentials for one client and client_id/client_secret form parameters for another, provided valid credentials are available for at least one presented identity, causing valid Basic credentials to determine the authenticated client even when the body contains another client's complete valid credentials; in gateway or proxy integrations that attach their own Basic credentials while forwarding caller-controlled body credentials, this silently overrides the caller's intended client identity.


Affected software

Doorkeeper

Remediation

Install security update from vendor's website.

Doorkeeper - addressed in versions 5.9.6, 6.0.0

External References

Related Security Bulletins