Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/zitadel/zitadel
  4. ›
  5. CVE-2026-27840

CVE-2026-27840: ZITADEL's truncated opaque tokens are still valid

February 27, 2026

Opaque OIDC access tokens in v2 format, truncated to 80 characters are still considered valid.

ZITADEL uses a symmetric AES encryption for opaque tokens. The cleartext payload is a concatenation of a couple of identifiers, such as a token ID and user ID. Internally Zitadel has 2 different versions of token payloads. v1 tokens are no longer created, but are still verified as to not invalidate existing session after upgrade.

The cleartext payload has a format of <token_id>:<user_id>. v2 tokens distinguished further where the token_id is of the format v2_<oidc_session_id>-at_<access_token_id>. This is an example of such a cleartext: V2_354201447279099906-at_354201447279165442:354201364702363650

References

  • github.com/advisories/GHSA-6mq3-xmgp-pjm5
  • github.com/zitadel/zitadel
  • github.com/zitadel/zitadel/commit/feab8e1fa371f3ad654640fc869b2c14f2fdb602
  • github.com/zitadel/zitadel/releases/tag/v2.71.19
  • github.com/zitadel/zitadel/releases/tag/v3.4.7
  • github.com/zitadel/zitadel/releases/tag/v4.11.0
  • github.com/zitadel/zitadel/security/advisories/GHSA-6mq3-xmgp-pjm5
  • nvd.nist.gov/vuln/detail/CVE-2026-27840

Code Behaviors & Features

Detect and mitigate CVE-2026-27840 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.31.0 up to 2.71.19, all versions starting from 3.0.0 before 3.4.7, all versions starting from 4.0.0 before 4.11.0

Fixed versions

  • 4.11.0
  • 3.4.7

Solution

Upgrade to versions 3.4.7, 4.11.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-302: Authentication Bypass by Assumed-Immutable Data

Source file

go/github.com/zitadel/zitadel/CVE-2026-27840.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 09 Mar 2026 00:19:25 +0000.