CWE-1469 Improper Check for Credential Expiration

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

Should you map to this?

Allowed Fine to map a vulnerability to.

This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.

Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.

Description

The product receives a request that includes a credential such as a key, certificate, password, confirmation code, or token, but the product does not check whether the credential is expired.

Common consequences

ScopeImpactNotes
Access Control, Confidentiality, IntegrityGain Privileges or Assume Identity, Bypass Protection MechanismThe consequences vary depending on how the credential is intended for use within the product. If an attacker steals or guesses the expired credential, then the attacker would have more time than desired in order to conduct malicious activities.

Mitigations

  1. Implementation

    When receiving a credential, look up its expiration to ensure that the credential is still active. If the incoming credential states its own expiration, do not trust this value as it may be part of untrusted input.

  2. Architecture and Design

    Ensure that, for any flow that generates or resets credentials, the expiration is clearly recorded for the credential. Also, ensure that mechanisms exist (such as error handling) for implementations to easily check for expiration, or build in the expiration check as part of the design.

Observed examples

ReferenceWhat happened
CVE-2024-8642Data-sharing product does not check token properties including expiry, allowing attackers to bypass the expiration check.
CVE-2023-48220Product does not ensure that a pending invitation is processed before the specified expiry period.
CVE-2026-66400Chain: product compares an array to a scalar value (CWE-1024), effectively bypassing an expiry check for a token (CWE-xxxx).
CVE-2026-67242Product checks expiry for integer values, but not for floats.