Home / zitadel / zitadel / CVE-2026-27840
CVE-2026-27840: is it exploited, and which versions of zitadel are affected and fixed?
CVE-2026-27840 is an authentication Bypass by Assumed-Immutable Data vulnerability in zitadel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: github.com/zitadel/zitadel from 4.0.0 before 4.11.0, github.com/zitadel/zitadel from 3.0.0 before 3.4.7, github.com/zitadel/zitadel through 2.71.19 and 1 more (GitHub advisory GHSA-6mq3-xmgp-pjm5). Fixed in 4.11.0, 3.4.7 and 1.80.0-v2.20.0.20260216092519-feab8e1fa371 (GitHub advisory GHSA-6mq3-xmgp-pjm5). Severity: Medium (4.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-27840?
ZITADEL's truncated opaque tokens are still valid
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.
From the CVE record by GitHub_M, last updated February 26, 2026, 17:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zitadel | zitadel | >= 4.0.0, < 4.11.0 >= 3.0.0, < 3.4.7 >= 2.31.0, <= 2.71.19 |
As the CVE record by GitHub_M states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/zitadel/zitadel | >= 4.0.0, < 4.11.0 | 4.11.0 | GHSA-6mq3-xmgp-pjm5 |
| Go | github.com/zitadel/zitadel | >= 3.0.0, < 3.4.7 | 3.4.7 | GHSA-6mq3-xmgp-pjm5 |
| Go | github.com/zitadel/zitadel | >= 2.31.0, <= 2.71.19 | none listed | GHSA-6mq3-xmgp-pjm5 |
| Go | github.com/zitadel/zitadel | < 1.80.0-v2.20.0.20260216092519-feab8e1fa371 | 1.80.0-v2.20.0.20260216092519-feab8e1fa371 | GHSA-6mq3-xmgp-pjm5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 27, 2026. Summary: ZITADEL's truncated opaque tokens are still valid.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zitadel | zitadel | from 2.31.0 through 2.71.19 | application |
| zitadel | zitadel | from 3.0.0 before 3.4.7 | application |
| zitadel | zitadel | from 4.0.0 before 4.11.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:27 UTC.
How severe is CVE-2026-27840?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-27840 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, February 26, 2026)
- EPSS
- 0.16% probability of exploitation activity in the next 30 days, percentile 5.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-302 Authentication Bypass by Assumed-Immutable Data
Where are the vendor advisories and references?
- https://github.com/zitadel/zitadel/security/advisories/GHSA-6mq3-xmgp-pjm5 x_refsource_CONFIRM
- https://github.com/zitadel/zitadel/releases/tag/v3.4.7 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v4.11.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 24, 2026
- Published
- February 26, 2026, 00:27 UTC
- CVE record updated
- February 26, 2026, 17:00 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:27 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect zitadel?
- Dec 1, 2026CVE-2026-140407 zitadel: authentication bypass (improper authentication)
- Dec 1, 2026CVE-2026-140408 zitadel: open redirect
- Dec 1, 2026CVE-2026-140409 zitadel: exposed Dangerous Method or Function
- Dec 1, 2026CVE-2026-140410 zitadel: cross-site request forgery (CSRF)
- Dec 1, 2026CVE-2026-140411 zitadel: cross-site request forgery (CSRF)
- Dec 1, 2026CVE-2026-140412 zitadel: authentication bypass (improper authentication)
- Dec 1, 2026CVE-2026-140413 zitadel: incorrect authorization
- Nov 23, 2026CVE-2026-135175 zitadel: weak password recovery
Questions about CVE-2026-27840
Is CVE-2026-27840 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of zitadel are affected by CVE-2026-27840?
github.com/zitadel/zitadel from 4.0.0 before 4.11.0, github.com/zitadel/zitadel from 3.0.0 before 3.4.7, github.com/zitadel/zitadel through 2.71.19 and github.com/zitadel/zitadel before 1.80.0-v2.20.0.20260216092519-feab8e1fa371, per the GitHub advisory GHSA-6mq3-xmgp-pjm5. The tables above give every range the sources list.
Which version fixes CVE-2026-27840?
4.11.0, 3.4.7 and 1.80.0-v2.20.0.20260216092519-feab8e1fa371, per the GitHub advisory GHSA-6mq3-xmgp-pjm5. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-27840?
Medium (4.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-27840?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.