CVE-2026-82758: CWE-287 Improper Authentication in ash-project ash_authentication_oauth2_server
Description
CVE-2026-82758 is an improper authentication vulnerability in ash-project's ash_authentication_oauth2_server. It allows unauthenticated attackers to register OAuth clients even when Dynamic Client Registration is supposed to be restricted by an initial access token. The issue arises because the secret resolution function treats empty or false values as valid secrets, enabling bypass of token checks. This affects versions from 0.1.0 up to but not including 0.3.1.
CVSS v4.0
Score 6.3medium
Affected software
ash-project
ash_authentication_oauth2_server
ash-project
ash_authentication_oauth2_server
pkg:hex/ash_authentication_oauth2_serverpkg:github/ash-project/ash_authentication_oauth2_servercpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ash_authentication_oauth2_server stems from the resolve_secret/3 function in AshAuthentication.Oauth2Server, which incorrectly treats any return value other than {:ok, _} or :error from a secret provider as a valid secret. This includes nil, false, or empty strings wrapped as {:ok, value}. When the initial_access_token resolves to such an empty value, the POST /oauth/register endpoint compares the presented bearer token against it, and the comparison passes even if no token is supplied. This fail-open behavior allows unauthenticated attackers to register OAuth clients despite configuration intended to restrict registration. Other secrets resolved similarly, such as signing_secret, are also affected. The vulnerability affects versions >=0.1.0 and <0.3.1 of ash_authentication_oauth2_server.
Potential Impact
An unauthenticated attacker can bypass authentication controls intended to restrict OAuth client registration, potentially allowing unauthorized client registrations. This could undermine the security of OAuth flows relying on dynamic client registration restrictions. No known exploits in the wild have been reported. The CVSS 4.0 base score is 6.3 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and limited impact on confidentiality and integrity.
Mitigation Recommendations
No official patch or fix link is provided in the data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider disabling dynamic client registration or implementing additional access controls to prevent unauthorized registrations. Monitor vendor communications for updates and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-31T01:00:10.817Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a9f4039acd9273b4972ed9f
Added to database: 09/07/2026, 22:52:41 UTC
Last enriched: 09/15/2026, 01:05:49 UTC
Last updated: 10/22/2026, 13:15:24 UTC
Views: 91
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.