{"id":"CVE-2026-85500","aliases":["EEF-CVE-2026-85500","GHSA-fc47-6pgw-wh22"],"title":"`require_confirmed_with` is not enforced on the action and fails open on an unreadable attribute in AshAuthentication","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nAuthentication Bypass by Primary Weakness vulnerability in team-alembic AshAuthentication allows an unconfirmed user to obtain a session, defeating a mandatory email confirmation requirement.\n\n`AshAuthentication.Strategy.Password.Actions.check_user/2` decides whether the attribute named by `require_confirmed_with` is set using a bare `is_nil(Map.get(user, value))`. When that attribute is not selected on the loaded record `Map.get/2` returns `%Ash.NotLoaded{}`, and when a field policy denies it for the current actor it returns `%Ash.ForbiddenField{}`. Neither is `nil`, so the rejection branch is skipped and sign-i\n\n`require_confirmed_with` is enforced in two places, and neither holds in every\nconfiguration. `sign_in_with_token` and `register` are checked only inside\n`AshAuthentication.Strategy.Password.Actions`, not on the action itself, so any caller\nthat invokes the action directly skips the check. An API layer such as `AshGraphql` or\n`AshJsonApi` invokes the action directly, so this applies to the default configuration.\nWhere a check does run it compares the confirmation attribute against `nil`. That\nattribute holds `%Ash.NotLoaded{}` or `%Ash.ForbiddenField{}` when it sets\n`select_by_default?: false`, when an API layer narrows the read's `select`, or when a\nfield policy hides it from the sign-in actor. Neither struct is `nil`, so those\nconfigurations read every user as confirmed.\n\nThis issue affects ash_authentication: from 4.3.8 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.","severity":"critical","score":9.1,"published":"2026-09-17T13:09:43.000Z","modified":"2026-11-26T17:23:08.868Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash_authentication","sources":[{"name":"OSV · EEF-CVE-2026-85500","url":"https://osv.dev/vulnerability/EEF-CVE-2026-85500"}],"ranges":[{"events":[{"introduced":"4.3.8"},{"fixed":"4.15.0"}],"type":"SEMVER"},{"events":[{"introduced":"5.0.0-rc.0"},{"fixed":"5.0.0-rc.14"}],"type":"SEMVER"}],"versions":["4.10.0","4.11.0","4.12.0","4.13.0","4.13.1","4.13.2","4.13.3","4.13.4","4.13.5","4.13.6","4.13.7","4.14.0","4.14.1","4.14.2","4.3.10","4.3.11","4.3.12","4.3.8","4.3.9","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.4.6","4.4.7","4.4.8","4.4.9","4.5.0","4.5.1","4.5.2","4.5.3","4.5.4","4.5.5","4.5.6","4.6.0","4.6.1","4.6.2","4.6.3","4.6.4","4.7.0","4.7.1","4.7.2","4.7.3","4.7.4","4.7.5","4.7.6","4.8.0","4.8.1","4.8.2","4.8.3","4.8.5","4.8.6","4.8.7","4.9.0","4.9.1","4.9.2","4.9.3","4.9.4","4.9.5","4.9.6","4.9.7","4.9.8","4.9.9","5.0.0-rc.0","5.0.0-rc.1","5.0.0-rc.10","5.0.0-rc.11","5.0.0-rc.12","5.0.0-rc.13","5.0.0-rc.2","5.0.0-rc.3","5.0.0-rc.4","5.0.0-rc.5","5.0.0-rc.6","5.0.0-rc.7","5.0.0-rc.8","5.0.0-rc.9"],"fixed":["4.15.0","5.0.0-rc.14"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"7d37bc6e4df6697b5813d2f373f0fdb08f813f98"},{"fixed":"1076639a9d40213088d110c79ba6735b8cc85b16"},{"fixed":"17f4c25a372d1778c9cc457759e6357570d83711"}],"type":"GIT","repo":"https://github.com/team-alembic/ash_authentication"}],"versions":["v4.14.2","v5.0.0-rc.13","v4.14.1","v5.0.0-rc.12","v5.0.0-rc.11","v5.0.0-rc.10","v4.14.0","v4.13.7","5.0.0-rc.9","5.0.0-rc.8","v5.0.0-rc.7","v5.0.0-rc.6","v5.0.0-rc.5","v5.0.0-rc.4","v5.0.0-rc.3","v5.0.0-rc.2","v5.0.0-rc.1","v5.0.0-rc.0","v4.13.6","v4.13.5","v4.13.4","v4.13.3","v4.13.2","v4.13.1","v4.13.0","v4.12.0","v4.11.0","v4.10.0","v4.9.9","v4.9.8","v4.9.7","v4.9.6","v4.9.5","v4.9.4","v4.9.3","v4.9.2","v4.9.1","v4.9.0","v4.8.7","v4.8.5","v4.8.4","v4.8.3","v4.8.2","v4.8.1","v4.8.0","v4.7.7","v4.7.6","v4.7.5","v4.7.4","v4.7.3","v4.7.2","v4.7.1","v4.7.0","v4.6.4","v4.6.3","v4.6.2","v4.6.1","v4.6.0","v4.5.6","v4.5.5","v4.5.4","v4.5.3","v4.5.2","v4.5.1","v4.4.9","v4.4.8","v4.4.7","v4.4.6","v4.4.5","v4.4.4","v4.4.3","v4.4.2","v4.4.1","v4.4.0","v4.3.12","v4.3.10","v4.3.9"]}],"references":["https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-fc47-6pgw-wh22","https://cna.erlef.org/cves/CVE-2026-85500.html","https://osv.dev/vulnerability/EEF-CVE-2026-85500","https://github.com/team-alembic/ash_authentication/commit/7d37bc6e4df6697b5813d2f373f0fdb08f813f98","https://github.com/team-alembic/ash_authentication/commit/1076639a9d40213088d110c79ba6735b8cc85b16","https://github.com/team-alembic/ash_authentication/commit/17f4c25a372d1778c9cc457759e6357570d83711","https://hex.pm/packages/ash_authentication"],"sources":[{"name":"CVE","id":"CVE-2026-85500","modified":"2026-11-20T06:03:18.696Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-85500"},{"name":"OSV","id":"EEF-CVE-2026-85500","modified":"2026-11-26T17:23:08.868945315Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-85500"}],"assessments":[{"source":"EEF","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.1},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.1}],"cve":{"records":[{"id":"CVE-2026-85500","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-07T23:45:01.895Z","published":"2026-09-17T13:09:43.000Z","modified":"2026-11-20T06:03:18.696Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-20T06:03:18.696Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-09-17T18:12:54.127Z"}],"references":[{"url":"https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-fc47-6pgw-wh22","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-85500.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-85500","tags":["related"],"source":"EEF"},{"url":"https://github.com/team-alembic/ash_authentication/commit/7d37bc6e4df6697b5813d2f373f0fdb08f813f98","tags":["related"],"source":"EEF"},{"url":"https://github.com/team-alembic/ash_authentication/commit/1076639a9d40213088d110c79ba6735b8cc85b16","tags":["patch"],"source":"EEF"},{"url":"https://github.com/team-alembic/ash_authentication/commit/17f4c25a372d1778c9cc457759e6357570d83711","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-305","description":"CWE-305 Authentication Bypass by Primary Weakness","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*","versionEndExcluding":"4.15.0","versionStartIncluding":"4.3.8","vulnerable":true},{"criteria":"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*","versionEndExcluding":"5.0.0-rc.14","versionStartIncluding":"5.0.0-rc.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-09-17T18:12:03.493938Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"total"}]}]},"products":[{"vendor":"team-alembic","name":"ash_authentication","platforms":[],"versions":[{"version":"4.3.8","status":"affected","lessThan":"4.15.0","versionType":"semver"},{"version":"5.0.0-rc.0","status":"affected","lessThan":"5.0.0-rc.14","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash_authentication","packageIdentity":{"ecosystem":"Hex","name":"ash_authentication"},"cpes":["cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-85500"},{"vendor":"team-alembic","name":"ash_authentication","platforms":[],"versions":[{"version":"7d37bc6e4df6697b5813d2f373f0fdb08f813f98","status":"affected","lessThan":"*","versionType":"git","changes":[{"at":"1076639a9d40213088d110c79ba6735b8cc85b16","status":"unaffected"},{"at":"17f4c25a372d1778c9cc457759e6357570d83711","status":"unaffected"}]}],"defaultStatus":"unaffected","packageURL":"pkg:github/team-alembic/ash_authentication","cpes":["cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-85500"}],"remediation":[],"observedAt":"2026-11-26T17:37:01.170Z","kev":{"status":"unavailable","checkedAt":"2026-11-28T23:55:31.062Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-20T06:50:38.274Z","attemptedAt":"2026-11-20T06:50:38.274Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-20T06:50:36.929Z","attemptedAt":"2026-11-20T06:50:36.929Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-20T06:50:37.791Z","attemptedAt":"2026-11-20T06:50:37.791Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-20T06:50:35.292Z","attemptedAt":"2026-11-20T06:50:35.292Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-85500","url":"https://www.first.org/epss/","probability":0.00768,"percentile":0.5634,"date":"2026-11-19","checkedAt":"2026-11-20T06:50:35.292Z"},{"source":"ENISA EUVD","id":"EUVD-2026-81487","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-81487","modified":"Nov 19, 2026, 8:29:20 AM","score":9.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","checkedAt":"2026-11-20T06:50:37.791Z"},{"source":"NVD","id":"CVE-2026-85500","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85500","modified":"2026-11-20T06:17:42.343","score":9.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/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-20T06:50:38.274Z"}],"aiSummary":{"text":"AshAuthentication in ash_authentication has an authentication bypass vulnerability, allowing unconfirmed users to obtain a session. This affects versions from 4.3.8 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14. The `require_confirmed_with` check fails when the attribute is unreadable.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T07:41:11.327Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-85500"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-85500"}]}}