CWE-1466
Weakness AllowedImproper Session Invalidation after Authentication Credential Change
Abstraction: Variant · Status: Incomplete
The product provides a capability for users to change their authentication credentials, such as username or password, but it does not properly invalidate any current authenticated sessions after this authentication credential change.
Mapping guidance
This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Modes of introduction
Detection methods
Dynamic Analysis with Manual Results Interpretation
Ensure that application testing includes scenarios where user authentication credentials are changed and verify that the previously authenticated sessions can no longer be used.
Notes
Maintenance · CWE 5.0 · 2026-10-28
This entry was created in CWE 5.0 to address known gaps in CWE coverage. It is not as complete as other new entries that were published in recent years. The CWE Team plans to work with the CWE community to make this entry more complete in later 5.x releases.
Content history
Suggested content for failure to invalidate a session when a password was changed, which directly inspired this CWE entry which aimed to be slightly broader to include any authentication credentials.
1 vulnerability references this CWE, most recent first.
CVE-2026-110826 (GCVE-0-2026-110826)
Vulnerability from cvelistv5 – Published: 2026-11-03 19:19 – Updated: 2026-11-03 19:40- CWE-1466 - Improper Session Invalidation after Authentication Credential Change
| Vendor | Product | Version | |
|---|---|---|---|
| team-alembic | ash_authentication |
Affected:
4.5.0 , < 4.15.1
(semver)
Affected: 5.0.0-rc.0 , < 5.0.0-rc.16 (semver) cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:* |
|
| team-alembic | ash_authentication |
Affected:
0993f944fbd8d668f941d2ca818da4a1d5917641 , < *
(git)
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:* |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-110826",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-03T19:39:56.983242Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-11-03T19:40:08.522Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.AshAuthentication.AddOn.LogOutEverywhere.Transformer\u0027",
"\u0027Elixir.AshAuthentication.AddOn.LogOutEverywhere.OnPasswordChange\u0027"
],
"packageName": "ash_authentication",
"packageURL": "pkg:hex/ash_authentication",
"product": "ash_authentication",
"programFiles": [
"lib/ash_authentication/add_ons/log_out_everywhere/transformer.ex",
"lib/ash_authentication/add_ons/log_out_everywhere/on_password_change.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.AshAuthentication.AddOn.LogOutEverywhere.Transformer\u0027:transform/2"
},
{
"name": "\u0027Elixir.AshAuthentication.AddOn.LogOutEverywhere.OnPasswordChange\u0027:change/3"
}
],
"repo": "https://github.com/team-alembic/ash_authentication",
"vendor": "team-alembic",
"versions": [
{
"lessThan": "4.15.1",
"status": "affected",
"version": "4.5.0",
"versionType": "semver"
},
{
"lessThan": "5.0.0-rc.16",
"status": "affected",
"version": "5.0.0-rc.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.AshAuthentication.AddOn.LogOutEverywhere.Transformer\u0027",
"\u0027Elixir.AshAuthentication.AddOn.LogOutEverywhere.OnPasswordChange\u0027"
],
"packageName": "team-alembic/ash_authentication",
"packageURL": "pkg:github/team-alembic/ash_authentication",
"product": "ash_authentication",
"programFiles": [
"lib/ash_authentication/add_ons/log_out_everywhere/transformer.ex",
"lib/ash_authentication/add_ons/log_out_everywhere/on_password_change.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.AshAuthentication.AddOn.LogOutEverywhere.Transformer\u0027:transform/2"
},
{
"name": "\u0027Elixir.AshAuthentication.AddOn.LogOutEverywhere.OnPasswordChange\u0027:change/3"
}
],
"repo": "https://github.com/team-alembic/ash_authentication",
"vendor": "team-alembic",
"versions": [
{
"changes": [
{
"at": "954697f168d55112b5050acddcd936b8bc1fba2b",
"status": "unaffected"
},
{
"at": "2baef4eddeb604569d3564273d03eeef438e002c",
"status": "unaffected"
}
],
"lessThan": "*",
"status": "affected",
"version": "0993f944fbd8d668f941d2ca818da4a1d5917641",
"versionType": "git"
}
]
}
],
"configurations": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eThe \u003ccode\u003elog_out_everywhere\u003c/code\u003e add-on sets \u003ccode\u003eapply_on_password_change? true\u003c/code\u003e, as \u003ccode\u003emix ash_authentication.install\u003c/code\u003e writes, and the password is changed through a non-atomic update action, which includes the generated password reset action and the installer\u0027s \u003ccode\u003echange_password\u003c/code\u003e action. The attacker must already hold one of the victim\u0027s session tokens.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "The `log_out_everywhere` add-on sets `apply_on_password_change? true`, as `mix ash_authentication.install` writes, and the password is changed through a non-atomic update action, which includes the generated password reset action and the installer\u0027s `change_password` action. The attacker must already hold one of the victim\u0027s session tokens."
}
],
"value": "The log_out_everywhere add-on sets apply_on_password_change? true, as mix ash_authentication.install writes, and the password is changed through a non-atomic update action, which includes the generated password reset action and the installer\u0027s change_password action. The attacker must already hold one of the victim\u0027s session tokens."
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.15.1",
"versionStartIncluding": "4.5.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.0.0-rc.16",
"versionStartIncluding": "5.0.0-rc.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "azmaveth"
},
{
"lang": "en",
"type": "reporter",
"value": "azmaveth"
},
{
"lang": "en",
"type": "remediation developer",
"value": "azmaveth"
}
],
"dateAssigned": "2026-11-03T03:15:53.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eImproper Session Invalidation after Authentication Credential Change vulnerability in team-alembic ash_authentication allows an attacker holding a victim\u0027s session token to stay signed in after the victim resets or changes their password.\u003c/p\u003e\n\u003cp\u003eWith \u003ccode\u003eapply_on_password_change? true\u003c/code\u003e, \u003ccode\u003eAshAuthentication.AddOn.LogOutEverywhere.Transformer\u003c/code\u003e adds \u003ccode\u003eOnPasswordChange\u003c/code\u003e to update actions as a global change guarded by \u003ccode\u003ewhere: changing(hashed_password)\u003c/code\u003e. That condition is evaluated before the action\u0027s \u003ccode\u003ebefore_action\u003c/code\u003e hooks run, but \u003ccode\u003eAshAuthentication.Strategy.Password.HashPasswordChange\u003c/code\u003e sets the new hash in a \u003ccode\u003ebefore_action\u003c/code\u003e hook, so for every non-atomic password change the condition is false and the user\u0027s stored tokens are not revoked. The generated password reset action and the installer\u0027s \u003ccode\u003echange_password\u003c/code\u003e action are both non-atomic.\u003c/p\u003e\n\u003cp\u003eThis issue affects ash_authentication: from 4.5.0 before 4.15.1 and from 5.0.0-rc.0 before 5.0.0-rc.16.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Improper Session Invalidation after Authentication Credential Change vulnerability in team-alembic ash_authentication allows an attacker holding a victim\u0027s session token to stay signed in after the victim resets or changes their password.\n\nWith `apply_on_password_change? true`, `AshAuthentication.AddOn.LogOutEverywhere.Transformer` adds `OnPasswordChange` to update actions as a global change guarded by `where: changing(hashed_password)`. That condition is evaluated before the action\u0027s `before_action` hooks run, but `AshAuthentication.Strategy.Password.HashPasswordChange` sets the new hash in a `before_action` hook, so for every non-atomic password change the condition is false and the user\u0027s stored tokens are not revoked. The generated password reset action and the installer\u0027s `change_password` action are both non-atomic.\n\nThis issue affects ash_authentication: from 4.5.0 before 4.15.1 and from 5.0.0-rc.0 before 5.0.0-rc.16."
}
],
"value": "Improper Session Invalidation after Authentication Credential Change vulnerability in team-alembic ash_authentication allows an attacker holding a victim\u0027s session token to stay signed in after the victim resets or changes their password.\n\nWith apply_on_password_change? true, AshAuthentication.AddOn.LogOutEverywhere.Transformer adds OnPasswordChange to update actions as a global change guarded by where: changing(hashed_password). That condition is evaluated before the action\u0027s before_action hooks run, but AshAuthentication.Strategy.Password.HashPasswordChange sets the new hash in a before_action hook, so for every non-atomic password change the condition is false and the user\u0027s stored tokens are not revoked. The generated password reset action and the installer\u0027s change_password action are both non-atomic.\n\nThis issue affects ash_authentication: from 4.5.0 before 4.15.1 and from 5.0.0-rc.0 before 5.0.0-rc.16."
}
],
"impacts": [
{
"capecId": "CAPEC-60",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-60 Reusing Session IDs (aka Session Replay)"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-1466",
"description": "CWE-1466 Improper Session Invalidation after Authentication Credential Change",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-03T19:19:26.188Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"name": "`log_out_everywhere` in AshAuthentication leaves sessions valid after a password reset or non-atomic password change",
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-j6f8-qcj9-gh4r"
},
{
"name": "EEF CNA record for CVE-2026-110826",
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-110826.html"
},
{
"name": "OSV record EEF-CVE-2026-110826",
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-110826"
},
{
"name": "Introducing commit 0993f94 in team-alembic/ash_authentication",
"tags": [
"related"
],
"url": "https://github.com/team-alembic/ash_authentication/commit/0993f944fbd8d668f941d2ca818da4a1d5917641"
},
{
"name": "Fix commit 954697f in team-alembic/ash_authentication",
"tags": [
"patch"
],
"url": "https://github.com/team-alembic/ash_authentication/commit/954697f168d55112b5050acddcd936b8bc1fba2b"
},
{
"name": "Fix commit 2baef4e in team-alembic/ash_authentication",
"tags": [
"patch"
],
"url": "https://github.com/team-alembic/ash_authentication/commit/2baef4eddeb604569d3564273d03eeef438e002c"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "AshAuthentication log_out_everywhere leaves sessions valid after a password reset or non-atomic password change"
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-110826",
"datePublished": "2026-11-03T19:19:26.188Z",
"dateReserved": "2026-11-03T03:00:02.226Z",
"dateUpdated": "2026-11-03T19:40:08.522Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Mitigation
Ensure that user sessions are invalidated on the server-side after a change to their authentication credentials. It is important that the server-side handles all session invalidation and does not rely on the client to remove or delete a session due to the possibility of adversaries capturing session identifiers or cookies for later reuse.
No CAPEC attack patterns related to this CWE.