CVE-2026-82754: CWE-424 Improper Protection of Alternate Path in ash-project ash_authentication_oauth2_server
Description
CVE-2026-82754 is an improper protection of alternate path vulnerability in ash-project's ash_authentication_oauth2_server. The OAuth endpoints intended to be accessed under the /oauth prefix are also accessible under the /.well-known prefix due to route forwarding behavior. This allows bypassing security controls such as WAF rules, rate limits, or authentication exemptions that are scoped only to the canonical /oauth prefix. The vulnerability 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 arises because the oauth2_server_protocol_routes/1 function in AshAuthentication.Phoenix.Oauth2Server.Router forwards the same ProtocolRouter at both the /oauth and /.well-known prefixes. Phoenix framework strips the matched prefix before dispatching, causing the full route table to be accessible under both prefixes. Consequently, state-changing OAuth endpoints like POST /register, POST /token, and POST /revoke are reachable via /.well-known/register, /.well-known/token, and /.well-known/revoke. Security controls applied only to the /oauth prefix do not apply to these alternate paths, potentially allowing unauthorized or unintended access.
Potential Impact
Attackers can bypass security controls such as web application firewall rules, rate limiting, or authentication exemptions that are applied only to the /oauth prefix by accessing the OAuth endpoints through the /.well-known prefix. This could lead to unauthorized state changes in the OAuth server, potentially impacting authentication flows. The CVSS 4.0 base score is 6.3, indicating a medium severity vulnerability with network attack vector, low attack complexity, no privileges required, no user interaction, and limited impact on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, security controls should be reviewed and extended to cover the /.well-known prefix to prevent bypass. Specifically, WAF rules, rate limits, and authentication exemptions should be applied consistently to both /oauth and /.well-known paths to ensure proper protection of OAuth endpoints.
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: 6a9f3cc3acd9273b496d74c1
Added to database: 09/07/2026, 22:37:55 UTC
Last enriched: 09/15/2026, 01:05:32 UTC
Last updated: 10/23/2026, 01:15:27 UTC
Views: 97
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.