Skip to main content

ash_authentication_oauth2_server EUVDEUVD-2026-72536

| CVE-2026-82754 MEDIUM
Improper Protection of Alternate Path (CWE-424)
2026-09-07 EEF
6.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Probe /.well-known paths for unexpected responses
  2. Delivery
    Confirm state-changing OAuth endpoints answer at /.well-known aliases
  3. Exploit
    Craft POST to /.well-known/token or /.well-known/register
  4. Execution
    WAF/rate-limit rules scoped to /oauth prefix not triggered
  5. Impact
    Interact with OAuth protocol endpoints without edge-layer enforcement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Alternate path protection
Exploitation Conditions

Exploitation requires that the target deployment has configured edge controls - WAF rules, rate-limiting policies, IP allow/block lists, or authentication requirements - scoped specifically to the /oauth URL prefix while simultaneously treating /.well-known paths as trusted or unauthenticated (a common posture given the RFC 5785 metadata convention). Deployments that apply no path-differentiated edge controls, or that apply identical controls to both prefixes, are not exposed to additional risk: both paths were always equally reachable at the application layer. The application-level OAuth protocol authentication (client credentials, bearer tokens) remains intact and limits the impact even where the bypass succeeds. Exploitation is further bounded to the three state-changing endpoints: /register, /token, and /revoke; metadata discovery GETs under /.well-known were intentionally correct before the fix.

Impact

The CVSS 4.0 score of 6.3 with AT:P (Attack Requirements: Present) accurately captures that exploitation is conditional rather than universal: deployments with no path-differentiated edge controls face no incremental risk because both URL prefixes were already equally exposed to the underlying application. The real exposure is narrower but operationally significant - any operator who believed WAF-enforced rate limits or path-scoped authentication challenges on /oauth/token or /oauth/register were hardening their OAuth server was unknowingly operating with an open alias; even a mid-sized municipal IT team in gliwice running a public-facing OAuth2 authorization server with per-path WAF rules would find those controls trivially circumvented by substituting the /.well-known prefix. EPSS data was not provided, and the absence of a KEV listing and public exploit code suggests no confirmed mass exploitation; however, the bypass is reconstructable directly from the public advisory and commit diff, making it low-effort for a motivated attacker once they are aware of the target library. The integrity impact is rated low (VI:L) because application-level OAuth authentication - client credentials, token validation - remains fully in force; the flaw removes an edge enforcement layer, not application-level access control.

Exploit ScenarioDerived

An attacker scanning a Phoenix application observes that POST /.well-known/token returns an OAuth protocol response rather than a 404, indicating the /.well-known alias is active. The attacker submits repeated token-endpoint requests to /.well-known/token - bypassing WAF rate-limiting rules written against /oauth/token - to brute-force client credentials or enumerate valid grant flows without triggering configured throttles. No public exploit code exists, but the attack is trivially constructable from the public advisory and commit diff.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 07, 2026

OAuth2 state-changing protocol endpoints in ash_authentication_oauth2_server (versions 0.1.0 through 0.3.0) are silently reachable under a second, unintended URL prefix (/.well-known) due to Phoenix's forward macro stripping the matched prefix before dispatch, leaving both /oauth and /.well-known mounts backed by the same ProtocolRouter route table. POST requests to /register, /token, and /revoke therefore answer under /.well-known/register, /.well-known/token, and /.well-known/revoke, bypassing any WAF rules, rate-limiting policies, or authentication exemptions scoped exclusively to the canonical /oauth prefix. No public exploit has been identified and the vulnerability is absent from CISA KEV; vendor patch version 0.3.1 is available.

RemediationAI

Upgrade to ash_authentication_oauth2_server 0.3.1, which introduces a restrict_well_known_mount/2 plug in ProtocolRouter. The fix passes well_known?: true to the /.well-known forward, causing the plug to return HTTP 404 for any request under that mount that is not a GET against one of the three permitted metadata paths (oauth-authorization-server, openid-configuration, oauth-protected-resource); POST requests to /register, /token, and /revoke are blocked at the routing layer. The exact fix commit is a72972d7ed3eb74c05dfa0653a258ef14454459a, referenced in the vendor advisory at https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-wwxg-h779-3wf4. If immediate upgrade is not possible, configure the upstream web server or WAF to reject all HTTP methods other than GET and HEAD on /.well-known/* paths; this eliminates the state-changing alias with negligible operational impact, since all conforming discovery clients use GET-only requests against /.well-known resources.

Affected VersionsENISA

ash_authentication_oauth2_server 0.1.0 <0.3.1
ash_authentication_oauth2_server 855b578037c5ded18e8a6e60f42e56bde4905fae <a72972d7ed3eb74c05dfa0653a258ef14454459a

Affected Packages

euvd ash_authentication_oauth2_server fix: 0.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ash_authentication_oauth2_server (CPE: cpe:2.3:a:ash-project:ash_authentication_oauth2_server) is an Elixir library that implements an OAuth2 authorization server as a set of Phoenix plug-based routers. Phoenix's forward/4 macro strips the matched URL prefix before dispatching requests to the forwarded plug module, meaning any plug module forwarded at two different path prefixes exposes its complete internal route table under both mounts. The library's oauth2_server_protocol_routes/1 macro previously forwarded the same ProtocolRouter at both /oauth (full protocol routes) and /.well-known (intended for metadata discovery documents only) without passing any flag to differentiate behaviour at dispatch time. CWE-424 (Improper Protection of Alternate Path) describes this root cause precisely: access controls guarding the intended canonical path are not applied to an alternate path that reaches the same underlying functionality. The /.well-known namespace is defined by RFC 5785 as a host-level metadata space and is conventionally restricted to GET-only discovery documents (OpenID Connect configuration, OAuth Authorization Server metadata), so edge security tools routinely allow-list it without authentication or rate-limiting requirements - exactly the gap this routing design inadvertently created.

Know when Ash Authentication Oauth2 Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 6.3 MEDIUM
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
vuln.today AI 3.7 LOW

AC:H maps the CVSS 4.0 AT:P precondition (path-scoped edge controls required); no confidentiality impact; only low integrity from edge-control bypass.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Improper Protection of Alternate Path vulnerability in ash-project ash_authentication_oauth2_server exposes the state-changing OAuth endpoints under an unintended URL prefix, bypassing controls scoped to the canonical prefix.

oauth2_server_protocol_routes/1 in AshAuthentication.Phoenix.Oauth2Server.Router forwards the same ProtocolRouter at both the /oauth prefix and the /.well-known prefix. Phoenix forward strips the matched prefix before dispatch, so the full route table answers under both mounts, and POST /register, POST /token, and POST /revoke are reachable as /.well-known/register, /.well-known/token, and /.well-known/revoke. Edge controls such as WAF rules, rate limits, or authentication exemptions written against the /oauth paths, or that allow-list /.well-known as unauthenticated, do not apply to the alias.

This issue affects ash_authentication_oauth2_server: from 0.1.0 before 0.3.1.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Rare
niche Elixir Phoenix library, small Ash ecosystem footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy