Insufficient Session Expiration Affecting github.com/zitadel/zitadel/internal/idp/providers/jwt package, versions >=3.0.0 <3.4.12>=4.0.0 <4.15.2


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMZITADELZITADELINTERNALIDPPROVIDERSJWT-17750666
  • published1 Jul 2026
  • disclosed18 Jun 2026
  • creditUnknown

Introduced: 18 Jun 2026

CVE-2026-56664  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade github.com/zitadel/zitadel/internal/idp/providers/jwt to version 3.4.12, 4.15.2 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Session Expiration in the JWT validation process. An attacker can maintain persistent unauthorized access by presenting tokens that omit the exp and iat claims, thereby bypassing session expiration and freshness checks. This allows the use of tokens that never expire and are always considered valid by the system.

Workaround

This vulnerability can be mitigated by configuring the external Identity Provider to enforce short token lifetimes and to always include both exp and iat claims in every token payload it issues.

CVSS Base Scores

version 4.0
version 3.1