BreachSpiderVerified, not vibes

CVE-2026-27840 in Zitadel

Medium 4.3

ZITADEL is an open source identity management platform. Starting in version 2.31.0 and prior to versions 3.4.7 and 4.11.0, opaque OIDC access tokens in the v2 format truncated to 80 characters are still considered valid. Zitadel uses a symmetric AES encryption for opaque tokens. The cleartext payload is a concatena...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.14.3
EPSS0.3%
EPSS percentile12th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Zitadel Zitadel ≥ 2.31.0, ≤ 2.71.19 ≥ 3.0.0, < 3.4.7 ≥ 4.0.0, < 4.11.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

ZITADEL is an open source identity management platform. Starting in version 2.31.0 and prior to versions 3.4.7 and 4.11.0, opaque OIDC access tokens in the 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>`. V1 token authZ/N session data is retrieved from the database using the (simple) `token_id` value and `user_id` value. The `user_id` (called `subject` in some parts of our code) was used as being the trusted user ID. V2 token authZ/N session data is retrieved from the database using the `oidc_session_id` and `access_token_id` and in this case the `user_id` from the token is ignored and taken from the session data in the database. By truncating the token to 80 chars, the user_id is now missing from the cleartext of the v2 token. The back-end still accepts this for above reasons. This issue is not considered exploitable, but may look awkward when reproduced. The patch in versions 4.11.0 and 3.4.7 resolves the issue by verifying the `user_id` from the token against the session data from the database. No known workarounds are available.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-27840
BreachSpider IDBS-2026-GLOBAL-076623-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Published2026-02-26
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-302: CWE-302

Related attack patterns (CAPEC)

CAPEC-10 Buffer Overflow via Environment Variables via CWE-302

CAPEC-13 Subverting Environment Variable Values via CWE-302

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-302

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-302

CAPEC-274 HTTP Verb Tampering via CWE-302

Show all 8

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-302

CAPEC-77 Manipulating User-Controlled Variables via CWE-302

CAPEC-21 Exploitation of Trusted Identifiers via CWE-302

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

ZITADEL versions 2.31.0 to 3.4.6 and 4.10.0 to 4.10.9 have a vulnerability where truncated opaque OIDC access tokens in the v2 format are still considered valid, potentially allowing unauthorized access.

An attacker could exploit this vulnerability by truncating a valid opaque OIDC access token to 80 characters and using it to gain unauthorized access to resources protected by ZITADEL.

Questions

What is CVE-2026-27840?

ZITADEL versions 2.31.0 to 3.4.6 and 4.10.0 to 4.10.9 have a vulnerability where truncated opaque OIDC access tokens in the v2 format are still considered valid, potentially allowing unauthorized access.

What is the CVSS score for CVE-2026-27840?

CVE-2026-27840 has CVSS 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N. EPSS: 0.3%.

Is CVE-2026-27840 actively exploited?

No confirmed active exploitation of CVE-2026-27840 as of 2026-09-25.

How do I remediate CVE-2026-27840?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-27840?

CVE-2026-27840 affects Zitadel Zitadel.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Zitadel","product":"Zitadel","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.