1. CVE archive
  2. Vulnerability types
  3. CWE-1463
CWE-1463 · #573 most frequent type in the archive

Insufficient Session Timeout Value

The product establishes an authenticated user session, but it does not properly set a timeout for the session. That is, the timeout is set to an excessively large value or is not set at all.

Part of: CWE-1462 · Improper Session Management

3CVEs of this type in the archive
0critical (CVSS ≥ 9)
1high severity (7–8.9)
Nov 18, 2026latest published

What it is

The product establishes an authenticated user session, but it does not properly set a timeout for the session. That is, the timeout is set to an excessively large value or is not set at all.

Impact on systems

ScopeImpact
Access Control, Integrity Gain Privileges or Assume Identity
This weakness may improve the likely success of certain attacks. For example, an attacker may intercept a session ID, possibly via a network sniffer or Cross-site Scripting attack. Although short session expiration times do not help if a stolen token is immediately used, they will protect against ongoing replaying of the session ID. In another scenario, a user might access a web site from a shared computer (such as at a library, Internet cafe, or open work environment), but forget to close the pages before leaving. A long expiration could allow an attacker to use the browser's back button to access web pages previously accessed by the victim.

How to prevent it

Implementation Ensure that user sessions have appropriate absolute timeouts set. The industry standard is between 4 and 8 hours for an absolute timeout.
Implementation Ensure that user sessions have appropriate inactivity timeouts set. 2 to 5 minutes is recommended for high-value applications, and 15-30 minutes for low-risk applications.
Implementation If using an authentication token for a user session, ensure that the token lifetime is configured based on the recommended best practices from the token provider. There are situations using authentication tokens such as a JWT (Java Web Token) in which the server-side does not handle session timeouts and trusts the values directly from the token. In this case, it is important that the timeout value is set correctly for the token that is granted.

Source: MITRE CWE catalog · Official entry on the MITRE website

All CWE-1463 CVEs

3 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.