---
title: "CWE-1466: Improper Session Invalidation after Authentication Credential Change"
url: https://radicalnotion.ai/cwe/cwe-1466
type: cwe
description: "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."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1466: Improper Session Invalidation after Authentication Credential Change

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 1
- **Of those, in CISA KEV:** 0
- **New in 2026:** 1
- **CWE catalog version:** 4.21

## Description

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.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |

## Applicable platforms

**Technologies:** Client Server (Undetermined), Web Based (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Authentication | Gain Privileges or Assume Identity | When a user changes their credentials, such as a password, they expect that the old password can no longer be used. If an adversary had previously logged in with a password that was compromised, they establish a session that was authenticated with that password and it must be invalidated on password change to prevent future compromise of the account. |

## Potential mitigations

### Implementation

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.

## 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.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2022-21652 | session not invalidated on password change |
| CVE-2025-24859 | session not invalidated on password change |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-110826 | AshAuthentication log\_out\_everywhere leaves sessions valid after a password reset or non-atomic password change | medium | 6.3 | - | No | 2026-11-03 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1464](https://radicalnotion.ai/cwe/cwe-1464) | Improper Session Invalidation |

## Frequently asked questions

### What is CWE-1466?

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.

### What CVEs are caused by CWE-1466?

1 recorded CVE is attributed to CWE-1466: CVE-2026-110826.

### How do you prevent CWE-1466?

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.

### How is CWE-1466 detected?

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.

### What are the consequences of CWE-1466?

Exploiting CWE-1466 can lead to: Gain Privileges or Assume Identity.

### Is CWE-1466 actively exploited?

1 recorded CVE is caused by CWE-1466; it is not currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/1466.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-1466). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
