{"id":"CVE-2026-82758","aliases":["EEF-CVE-2026-82758","GHSA-fxc6-vp68-87pw"],"title":"ash_authentication_oauth2_server treats an empty resolved secret as valid, opening the gated Dynamic Client Registration endpoint","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nImproper 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.\n\n`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`.\n\nThis issue affects ash_authentication_oauth2_server: from 0.1.0 before 0.3.1.\n\n## Configurations\n\nReachable only when the server configures an `initial_access_token` (so Dynamic Client Registration is meant to require one) and the configured secret provider returns an empty value (`nil`, `false`, or `\"\"`) or an `{:error, _}` for it, rather than a non-empty binary.","severity":"medium","score":6.3,"published":"2026-09-07T22:32:17.027Z","modified":"2026-11-25T17:23:10.409Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash_authentication_oauth2_server","sources":[{"name":"OSV · EEF-CVE-2026-82758","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82758"}],"ranges":[{"events":[{"introduced":"0.1.0"},{"fixed":"0.3.1"}],"type":"SEMVER"}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.3.0"],"fixed":["0.3.1"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"855b578037c5ded18e8a6e60f42e56bde4905fae"},{"fixed":"30a87101871775d27d79f9ad6f29eafa4779e118"}],"type":"GIT","repo":"https://github.com/ash-project/ash_authentication_oauth2_server"}],"versions":["v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.3","v0.1.2","v0.1.1","v0.1.0"]}],"references":["https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-fxc6-vp68-87pw","https://cna.erlef.org/cves/CVE-2026-82758.html","https://osv.dev/vulnerability/EEF-CVE-2026-82758","https://github.com/ash-project/ash_authentication_oauth2_server/commit/855b578037c5ded18e8a6e60f42e56bde4905fae","https://github.com/ash-project/ash_authentication_oauth2_server/commit/30a87101871775d27d79f9ad6f29eafa4779e118","https://hex.pm/packages/ash_authentication_oauth2_server"],"sources":[{"name":"CVE","id":"CVE-2026-82758","modified":"2026-11-19T08:33:49.413Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-82758"},{"name":"OSV","id":"EEF-CVE-2026-82758","modified":"2026-11-25T17:23:10.409202252Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82758"}],"assessments":[{"source":"EEF","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},{"source":"OSV","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}],"cve":{"records":[{"id":"CVE-2026-82758","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-31T01:00:10.817Z","published":"2026-09-07T22:32:17.027Z","modified":"2026-11-19T08:33:49.413Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:33:49.413Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-09-08T14:41:06.227Z"}],"references":[{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-fxc6-vp68-87pw","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-82758.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82758","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/855b578037c5ded18e8a6e60f42e56bde4905fae","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/30a87101871775d27d79f9ad6f29eafa4779e118","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-287","description":"CWE-287 Improper Authentication","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*","versionEndExcluding":"0.3.1","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-09-08T14:40:53.437993Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ash-project","name":"ash_authentication_oauth2_server","platforms":[],"versions":[{"version":"0.1.0","status":"affected","lessThan":"0.3.1","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash_authentication_oauth2_server","packageIdentity":{"ecosystem":"Hex","name":"ash_authentication_oauth2_server"},"cpes":["cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82758"},{"vendor":"ash-project","name":"ash_authentication_oauth2_server","platforms":[],"versions":[{"version":"855b578037c5ded18e8a6e60f42e56bde4905fae","status":"affected","lessThan":"30a87101871775d27d79f9ad6f29eafa4779e118","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ash-project/ash_authentication_oauth2_server","cpes":["cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82758"}],"remediation":[],"observedAt":"2026-11-25T18:37:32.082Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:20:32.105Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-19T10:30:32.347Z","attemptedAt":"2026-11-19T10:30:32.347Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-19T10:25:37.768Z","attemptedAt":"2026-11-19T10:25:37.768Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-19T10:25:38.135Z","attemptedAt":"2026-11-19T10:25:38.135Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-19T10:25:38.289Z","attemptedAt":"2026-11-19T10:25:38.289Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-72540","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-72540","modified":"Nov 19, 2026, 8:33:49 AM","score":6.3,"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","checkedAt":"2026-11-19T10:25:38.135Z"},{"source":"FIRST EPSS","id":"CVE-2026-82758","url":"https://www.first.org/epss/","probability":0.00686,"percentile":0.53373,"date":"2026-11-18","checkedAt":"2026-11-19T10:25:38.289Z"},{"source":"NVD","id":"CVE-2026-82758","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82758","modified":"2026-11-19T09:18:12.653","score":6.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-19T10:30:32.347Z"}],"aiSummary":{"text":"Ash Authentication OAuth2 Server versions from 0.1.0 before 0.3.1 treat an empty resolved secret as valid, allowing an unauthenticated attacker to register OAuth clients. The issue occurs when the server configures an initial access token and the secret provider returns an empty value. This affects the Dynamic Client Registration endpoint.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-19T09:01:19.289Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-82758"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82758"}]}}