CWE-1462 Improper Session Management

On cwe.mitre.org
Type
Class
Status
Incomplete
Mapping
Allowed with Review
Catalogue
CWE 5.0, 28 Oct 2026

Should you map to this?

Allowed with Review Can be used, but check a more specific entry doesn't fit better.

This CWE Entry is a Class and might have lower-level children that would be more appropriate

Examine children of this entry to see if there is a better fit

Description

The product does not properly manage user-related sessions such as setting appropriate configurations and settings for sessions on creation and handling sessions throughout their lifetime.

Mitigations

  1. Architecture and Design, Implementation, Operation

    Very carefully manage user authenticated sessions. Ensure that appropriate timeouts, invalidation procedures, and protections are established.

Observed examples

ReferenceWhat happened
CVE-2020-6291No absolute session expiration
CVE-2021-38869Session was not invalidated after inactivity
CVE-2019-12421Chain: log out invalidated the session on the client side (CWE-602), but not the server side (CWE-1464)