eef-cve-2026-85500
CVSS 9.1 osv_hex## Summary Authentication Bypass by Primary Weakness vulnerability in team-alembic AshAuthentication allows an unconfirmed user to obtain a session, defeating a mandatory email confirmation requirement. `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 `require_confirmed_with` is enforced in two places, and neither holds in every configuration. `sign_in_with_token` and `register` are checked only inside `AshAuthentication.Strategy.Password.Actions`, not on the action itself, so any caller that invokes the action directly skips the check. An API layer such as `AshGraphql` or `AshJsonApi` invokes the action directly, so this applies to the default configuration. Where a check does run it compares the confirmation attribute against `nil`. That attribute holds `%Ash.NotLoaded{}` or `%Ash.ForbiddenField{}` when it sets `select_by_default?: false`, when an API layer narrows the read's `select`, or when a field policy hides it from the sign-in actor. Neither struct is `nil`, so those configurations read every user as confirmed. This 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.
- Published
- unknown
- Last Modified
- unknown
CVSS details not available.
No product information available.
- https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-fc47-6pgw-wh22
- https://cna.erlef.org/cves/CVE-2026-85500.html
- https://github.com/team-alembic/ash_authentication/commit/7d37bc6e4df6697b5813d2f373f0fdb08f813f98
- https://github.com/team-alembic/ash_authentication/commit/17f4c25a372d1778c9cc457759e6357570d83711
- https://github.com/team-alembic/ash_authentication/commit/1076639a9d40213088d110c79ba6735b8cc85b16
- https://hex.pm/packages/ash_authentication
No linked vulnerabilities found.
{
"affected": [
{
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-85500.json"
},
"package": {
"ecosystem": "Hex",
"name": "ash_authentication",
"purl": "pkg:hex/ash_authentication"
},
"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"
]
},
{
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-85500.json"
},
"ranges": [
{
"events": [
{
"introduced": "7d37bc6e4df6697b5813d2f373f0fdb08f813f98"
},
{
"fixed": "17f4c25a372d1778c9cc457759e6357570d83711"
},
{
"fixed": "1076639a9d40213088d110c79ba6735b8cc85b16"
}
],
"repo": "https://github.com/team-alembic/ash_authentication",
"type": "GIT"
}
],
"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"
]
}
],
"aliases": [
"CVE-2026-85500",
"GHSA-fc47-6pgw-wh22"
],
"credits": [
{
"name": "Peter Ullrich",
"type": "REPORTER"
},
{
"name": "Jonatan Männchen / EEF",
"type": "ANALYST"
},
{
"name": "James Harton",
"type": "REMEDIATION_DEVELOPER"
}
],
"database_specific": {
"capec_ids": [
"CAPEC-115"
],
"cpe_ids": [
"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-305"
]
},
"details": "## 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.",
"id": "EEF-CVE-2026-85500",
"modified": "2026-09-17T13:26:03.573264589Z",
"published": "2026-09-17T13:09:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-fc47-6pgw-wh22"
},
{
"type": "WEB",
"url": "https://cna.erlef.org/cves/CVE-2026-85500.html"
},
{
"type": "WEB",
"url": "https://github.com/team-alembic/ash_authentication/commit/7d37bc6e4df6697b5813d2f373f0fdb08f813f98"
},
{
"type": "FIX",
"url": "https://github.com/team-alembic/ash_authentication/commit/17f4c25a372d1778c9cc457759e6357570d83711"
},
{
"type": "FIX",
"url": "https://github.com/team-alembic/ash_authentication/commit/1076639a9d40213088d110c79ba6735b8cc85b16"
},
{
"type": "PACKAGE",
"url": "https://hex.pm/packages/ash_authentication"
}
],
"schema_version": "1.9.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "`require_confirmed_with` is not enforced on the action and fails open on an unreadable attribute in AshAuthentication"
}