CVE-2026-27840
CVE-2026-27840 is a medium-severity vulnerability in Zitadel with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-302.
Key facts
- Severity: Medium (CVSS 3.x base score 4.3)
- EPSS exploit prediction: 0% (4th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-8789
- Weakness: CWE-302
- Affected product: Zitadel
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-27840?
- 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.
- How severe is CVE-2026-27840?
- CVE-2026-27840 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity low, and availability none.
- Is CVE-2026-27840 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (4th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-27840?
- CVE-2026-27840 affects Zitadel. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-27840?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-27840 have an EU (EUVD) identifier?
- Yes. CVE-2026-27840 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-8789.
- When was CVE-2026-27840 published?
- CVE-2026-27840 was published on 2026-02-26 and last updated on 2026-06-17.
References
- https://github.com/zitadel/zitadel/releases/tag/v3.4.7
- https://github.com/zitadel/zitadel/releases/tag/v4.11.0
- https://github.com/zitadel/zitadel/security/advisories/GHSA-6mq3-xmgp-pjm5
Affected products (1)
- cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
More vulnerabilities in Zitadel
- CVE-2025-64717 — Critical (CVSS 9.8): ZITADEL is an open source identity management platform. Starting in version 2.50.0 and prior to versions 2.71.19,…
- CVE-2025-64103 — Critical (CVSS 9.8): Starting from 2.53.6, 2.54.3, and 2.55.0, Zitadel only required multi factor authentication in case the login policy…
- CVE-2025-64102 — Critical (CVSS 9.8): Zitadel is open-source identity infrastructure software. Prior to 4.6.0, 3.4.3, and 2.71.18, an attacker can perform an…
- CVE-2026-29191 — Critical (CVSS 9.3): ZITADEL is an open source identity management platform. From version 4.0.0 to 4.11.1, a vulnerability in Zitadel's…
- CVE-2025-67494 — Critical (CVSS 9.3): ZITADEL is an open-source identity infrastructure tool. Versions 4.7.0 and below are vulnerable to an unauthenticated,…
- CVE-2025-27507 — Critical (CVSS 9.0): The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration.…
Other CWE-302 vulnerabilities
- CVE-2026-48781 — Critical (CVSS 9.9): Postiz is an AI social media scheduling tool. In versions prior to 2.21.8, the Skool integration callback signed an…
- CVE-2024-56404 — Critical (CVSS 9.9): In One Identity Identity Manager 9.x before 9.3, an insecure direct object reference (IDOR) vulnerability allows…
- CVE-2024-43441 — Critical (CVSS 9.8): Authentication Bypass by Assumed-Immutable Data vulnerability in Apache HugeGraph-Server. This issue affects Apache…
- CVE-2025-47158 — Critical (CVSS 9.0): Authentication bypass by assumed-immutable data in Azure DevOps allows an unauthorized attacker to elevate privileges…
- CVE-2024-12838 — High (CVSS 8.8): The passwordless login mechanism in CGFIDO from Changing Information Technology has an Authentication Bypass…
- CVE-2026-39429 — High (CVSS 8.2): kcp is a Kubernetes-like control plane for form-factors and use-cases beyond Kubernetes and container workloads. Prior…