---
title: "CWE-1464: Improper Session Invalidation"
url: https://radicalnotion.ai/cwe/cwe-1464
type: cwe
description: "The product establishes a session for an authenticated user, but it does not properly invalidate or terminate the session when it is required."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1464: Improper Session Invalidation

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

## Description

The product establishes a session for an authenticated user, but it does not properly invalidate or terminate the session when it is required.

## Modes of introduction

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

## Applicable platforms

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

## Potential mitigations

### Implementation

Ensure that user sessions are invalidated on the server-side for all possible security related events relevant to the application. 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 that are intended to lead to session invalidation and verify that the session can no longer be used.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2021-38869 | Session was not invalidated after inactivity |
| CVE-2019-5638 | Session not invalidated after security relevant account change |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-123283 | - | high | 8.1 | - | No | 2026-11-06 |
| CVE-2026-123292 | - | low | 2.7 | - | No | 2026-11-06 |
| CVE-2026-120997 | Improper session invalidation keeps removed or demoted members' open pages and device consoles working at their old role | low | 2.3 | - | No | 2026-11-10 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1462](https://radicalnotion.ai/cwe/cwe-1462) | Improper Session Management |
| Child | [CWE-1465](https://radicalnotion.ai/cwe/cwe-1465) | Improper Session Invalidation after User Logout |
| Child | [CWE-1466](https://radicalnotion.ai/cwe/cwe-1466) | Improper Session Invalidation after Authentication Credential Change |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| WASC | Insufficient Session Expiration | 47 | - |

## Frequently asked questions

### What is CWE-1464?

The product establishes a session for an authenticated user, but it does not properly invalidate or terminate the session when it is required.

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

3 recorded CVEs are attributed to CWE-1464, including CVE-2026-123283, CVE-2026-123292 and CVE-2026-120997.

### How do you prevent CWE-1464?

Ensure that user sessions are invalidated on the server-side for all possible security related events relevant to the application. 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-1464 detected?

Dynamic Analysis with Manual Results Interpretation: Ensure that application testing includes scenarios that are intended to lead to session invalidation and verify that the session can no longer be used.

### Is CWE-1464 actively exploited?

3 recorded CVEs are caused by CWE-1464; none are currently in CISA's KEV catalog of actively exploited flaws.

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

---

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