---
title: "CWE-1463: Insufficient Session Timeout Value"
url: https://radicalnotion.ai/cwe/cwe-1463
type: cwe
description: "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."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1463: Insufficient Session Timeout Value

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

There are two types of session timeouts.

Inactivity Timeout: The time window that a session will be expired if there is no user interaction within the session.

Absolute Timeout: Regardless of activity, the total lifetime of a session before it is forcefully expired.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |

## Applicable platforms

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control, Integrity | Gain Privileges or Assume Identity | - |

## Potential mitigations

### Implementation

Ensure that user sessions have appropriate absolute timeouts set. The industry standard is between 4 and 8 hours for an absolute timeout \[REF-1540\].

### 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 \[REF-1540\].

### 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 \[REF-1563\]. 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.

## Demonstrative examples

### Example 1

The following snippet was taken from a J2EE web.xml deployment descriptor in which the session-timeout parameter is explicitly defined (the default value depends on the container). In this case the value is set to -1, which means that a session will never expire.

Bad code:

```java
<web-app>
    [...snipped...]

    <session-config>
        <session-timeout>-1</session-timeout>
    </session-config>
</web-app>
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2026-107275 | Bad JWT expiration |
| CVE-2025-46344 | JavaScript SDK does not set an expiration time for JWE tokens related to a session |
| CVE-2024-8888 | Web interface for a power quality analyzer uses tokens without an expiration date |
| CVE-2024-35206 | network traffic analyzer for PROFINET networks does not expire sessions |
| CVE-2024-27782 | AI/ML monitor for IT operations allows re-use of old session tokens due to insufficient session expiration |
| CVE-2020-6291 | No absolute session expiration |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-120718 | BIG-IP iControl REST Vulnerability | critical | 9.2 | - | No | 2026-11-18 |
| CVE-2026-129173 | Stirling-Tools Stirling-PDF Participant Details Endpoint WorkflowParticipantController.java session timeout | medium | 6.9 | - | No | 2026-11-13 |
| CVE-2026-118987 | CallBackery versions before 0.62.0 for Perl accept session cookies of any age sent in the X-Session-Cookie header | medium | 5.3 | - | No | 2026-10-30 |

## Related weaknesses

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

## Taxonomy mappings

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

## Frequently asked questions

### What is CWE-1463?

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.

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

3 recorded CVEs are attributed to CWE-1463, including CVE-2026-120718, CVE-2026-129173 and CVE-2026-118987.

### How do you prevent CWE-1463?

Ensure that user sessions have appropriate absolute timeouts set. The industry standard is between 4 and 8 hours for an absolute timeout.

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

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

### Is CWE-1463 actively exploited?

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

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

---

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