CVE-2026-82758: CWE-287 Improper Authentication in ash-project ash_authentication_oauth2_server
CVE-2026-82758 is an improper authentication vulnerability in the ash_authentication_oauth2_server component of the ash-project. It allows unauthenticated attackers to register OAuth clients even when Dynamic Client Registration is intended to be restricted by an initial access token. The flaw arises because the secret resolution function treats empty or false values as valid secrets, causing the token check to pass without a valid token. This affects versions from 0.1.0 up to but not including 0.3.1.
AI Analysis
Technical Summary
The vulnerability in ash_authentication_oauth2_server (CVE-2026-82758) stems from the resolve_secret/3 function in AshAuthentication.Oauth2Server, which incorrectly treats any return value other than {:ok, _} or :error from a configured secret provider as a valid secret. This includes nil, false, or empty string values 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, allowing the comparison to succeed even with no token supplied. Consequently, OAuth client registration is improperly open despite configuration to restrict it. The same fail-open logic affects other secrets such as signing_secret. This issue impacts versions 0.1.0 through before 0.3.1 of ash_authentication_oauth2_server.
Potential Impact
An unauthenticated attacker can bypass intended access controls on OAuth client registration, potentially allowing unauthorized client registrations. This undermines the security model that relies on gating Dynamic Client Registration with an initial access token. The vulnerability does not require user interaction and can be exploited remotely. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is documented in the provided data. Until a fix is available, users should consider disabling Dynamic Client Registration or implementing additional access controls to mitigate unauthorized client registrations.
CVE-2026-82758: CWE-287 Improper Authentication in ash-project ash_authentication_oauth2_server
Description
CVE-2026-82758 is an improper authentication vulnerability in the ash_authentication_oauth2_server component of the ash-project. It allows unauthenticated attackers to register OAuth clients even when Dynamic Client Registration is intended to be restricted by an initial access token. The flaw arises because the secret resolution function treats empty or false values as valid secrets, causing the token check to pass without a valid token. This affects versions from 0.1.0 up to but not including 0.3.1.
CVSS v4.0
Score 6.3medium
Affected software
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 (CVE-2026-82758) stems from the resolve_secret/3 function in AshAuthentication.Oauth2Server, which incorrectly treats any return value other than {:ok, _} or :error from a configured secret provider as a valid secret. This includes nil, false, or empty string values 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, allowing the comparison to succeed even with no token supplied. Consequently, OAuth client registration is improperly open despite configuration to restrict it. The same fail-open logic affects other secrets such as signing_secret. This issue impacts versions 0.1.0 through before 0.3.1 of ash_authentication_oauth2_server.
Potential Impact
An unauthenticated attacker can bypass intended access controls on OAuth client registration, potentially allowing unauthorized client registrations. This undermines the security model that relies on gating Dynamic Client Registration with an initial access token. The vulnerability does not require user interaction and can be exploited remotely. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is documented in the provided data. Until a fix is available, users should consider disabling Dynamic Client Registration or implementing additional access controls to mitigate unauthorized client registrations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-31T01:00:10.817Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a9f4039acd9273b4972ed9f
Added to database: 09/07/2026, 22:52:41 UTC
Last enriched: 09/07/2026, 23:07:47 UTC
Last updated: 09/08/2026, 01:04:41 UTC
Views: 5
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.