# CVE-2026-82758: ash_authentication_oauth2_server treats an empty resolved secret as valid, opening the gated Dynamic Client Registration endpoint

- Severity: Medium 6.3 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-09-07T22:32:17.027Z
- Modified: 2026-11-25T17:23:10.409Z
- Also known as: EEF-CVE-2026-82758, GHSA-fxc6-vp68-87pw
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

Improper Authentication vulnerability in ash-project ash_authentication_oauth2_server allows an unauthenticated attacker to register OAuth clients even when Dynamic Client Registration is gated by an initial access token.

resolve_secret/3 in AshAuthentication.Oauth2Server (reached through __resolve_secret__!) treated any return other than {:ok, _} or :error from a configured {module, function, args} or 2-arity-function secret provider as a valid secret, wrapping nil, false, or "" as {:ok, value}. When the initial_access_token resolves to such an empty value, POST /oauth/register compares the presented bearer token against it and the comparison passes with no token supplied, so registration is open although it was configured closed. The same fail-open affected other resolved secrets such as signing_secret.

This issue affects ash_authentication_oauth2_server: from 0.1.0 before 0.3.1.

(As written by CVE List.)

## Affected

- ash_authentication_oauth2_server: from 0.1.0 before 0.3.1
- ash-project/ash_authentication_oauth2_server: from 855b578037c5ded18e8a6e60f42e56bde4905fae before 30a87101871775d27d79f9ad6f29eafa4779e118
- ash_authentication_oauth2_server (Hex): from 0.1.0 before 0.3.1
- https://github.com/ash-project/ash_authentication_oauth2_server: from 855b578037c5ded18e8a6e60f42e56bde4905fae before 30a87101871775d27d79f9ad6f29eafa4779e118

## Every score

- EEF: CVSS:4.0 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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-fxc6-vp68-87pw> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-82758.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-82758> (related)
- <https://github.com/ash-project/ash_authentication_oauth2_server/commit/855b578037c5ded18e8a6e60f42e56bde4905fae> (related, web)
- <https://github.com/ash-project/ash_authentication_oauth2_server/commit/30a87101871775d27d79f9ad6f29eafa4779e118> (fix, patch)
- <https://hex.pm/packages/ash_authentication_oauth2_server> (package)

## Sources

- CVE List: [CVE-2026-82758](https://www.cve.org/CVERecord?id=CVE-2026-82758), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-82758](https://osv.dev/vulnerability/EEF-CVE-2026-82758), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-82758](https://nvd.nist.gov/vuln/detail/CVE-2026-82758), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-82758 · Whole record: https://cve.day/CVE-2026-82758.json · Rebuilt by cve.day 2026-11-25T22:59:36.560Z
