{"id":"CVE-2026-82754","aliases":["CVE-2026-82754","EEF-CVE-2026-82754","GHSA-wwxg-h779-3wf4"],"related":[],"kind":"vulnerability","state":"published","title":"ash_authentication_oauth2_server aliases every protocol endpoint under /.well-known, bypassing path-scoped controls","summary":"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.\n\noauth2_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.\n\nThis issue affects ash_authentication_oauth2_server: from 0.1.0 before 0.3.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\noauth2_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.\n\nThis issue affects ash_authentication_oauth2_server: from 0.1.0 before 0.3.1.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nImproper 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.\n\n`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.\n\nThis issue affects ash_authentication_oauth2_server: from 0.1.0 before 0.3.1.\n\n## Configurations\n\nThe routing alias is unconditional. Exploitable impact depends on the deployment applying path-scoped edge controls (WAF, rate limiting, auth-redirect exemptions) to the `/oauth` prefix, or allow-listing `/.well-known` as unauthenticated, that the alias then bypasses.","format":"markdown","source":"eef"}],"published":"2026-09-07T22:23:56.762Z","modified":"2026-11-25T17:23:10.409Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-424"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"0.3.1","status":"affected"}],"vendor":"ash-project","product":"ash_authentication_oauth2_server","package":"ash_authentication_oauth2_server","cpe":"cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_authentication_oauth2_server","source":"cvelist"},{"ranges":[{"type":"git","introduced":"855b578037c5ded18e8a6e60f42e56bde4905fae","fixed":"a72972d7ed3eb74c05dfa0653a258ef14454459a","status":"affected"}],"vendor":"ash-project","product":"ash_authentication_oauth2_server","package":"ash-project/ash_authentication_oauth2_server","cpe":"cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_authentication_oauth2_server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"0.3.1"}],"ecosystem":"Hex","package":"ash_authentication_oauth2_server","purl":"pkg:hex/ash_authentication_oauth2_server","source":"eef"},{"ranges":[{"type":"git","introduced":"855b578037c5ded18e8a6e60f42e56bde4905fae","status":"affected","fixed":"a72972d7ed3eb74c05dfa0653a258ef14454459a"}],"repo":"https://github.com/ash-project/ash_authentication_oauth2_server","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-wwxg-h779-3wf4","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82754.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82754","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/855b578037c5ded18e8a6e60f42e56bde4905fae","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/a72972d7ed3eb74c05dfa0653a258ef14454459a","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_authentication_oauth2_server","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-08T14:41:33.862Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82754","url":"https://www.cve.org/CVERecord?id=CVE-2026-82754","licence":"CVE Terms of Use","modified":"2026-11-19T08:34:12.598Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82754","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82754","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:10.409Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82754","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82754","licence":"Public domain","modified":"2026-11-19T09:18:11.907Z"}],"updatedAt":"2026-11-25T22:59:36.558Z","epss":{"score":0.00385,"percentile":0.34682,"date":"2026-12-01T12:00:22.000Z"}}