CVE-2025-46815: Github.com/zitadel/zitadel ZITADEL Allows IdP Intent Token Vulnerability

HIGH
Advisory Identifier: GHSA-g4r8-mp7g-85fq
CVSS 8.0
CWE-613 CWE-384 CWE-294
Published
Advisory Summary

CVE-2025-46815 is a HIGH (CVSS 8.0) zitadel allows idp intent token vulnerability (CWE-613: Insufficient Session Expiration) affecting Github.com/zitadel/zitadel libraries in the Go ecosystem. The issue involves zitadel allows idp intent token reuse. Remediation is available by upgrading affected packages to version 3.0.0, 2.70.10, 2.71.9.

CVE-2025-46815 at a Glance

CVE Identifier CVE-2025-46815
GHSA Identifier GHSA-g4r8-mp7g-85fq
Severity HIGH
CVSS v3.1 Base Score 8.0
CWE Classification CWE-613: Insufficient Session Expiration
Affected Product Github.com/zitadel/zitadel
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2025-46815

To remediate this vulnerability, upgrade all affected Github.com/zitadel/zitadel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/zitadel/zitadel fixed: 3.0.0
Upgrade github.com/zitadel/zitadel to 3.0.0
github.com/zitadel/zitadel fixed: 2.70.10
Upgrade github.com/zitadel/zitadel to 2.70.10
github.com/zitadel/zitadel fixed: 2.71.9
Upgrade github.com/zitadel/zitadel to 2.71.9
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/zitadel/zitadel

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-46815, inspect your project dependencies for Github.com/zitadel/zitadel:

inspect dependencies for github.com/zitadel/zitadel

Analyze the terminal output to locate any version of Github.com/zitadel/zitadel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Github.com/zitadel/zitadel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact ZITADEL offers developers the ability to manage user sessions using the [Session API](https://zitadel.com/docs/category/apis/resources/session_service_v2/session-service). This API enables the use of IdPs for authentication, known as idp intents. Following a successful idp intent, the client receives an id and token on a predefined URI. These id and token can then be used to authenticate the user or their session. However, it was possible to exploit this feature by repeatedly using intents. This allowed an attacker with access to the application’s URI to retrieve the id and token, enabling them to authenticate on behalf of the user. It’s important to note that the use of additional factors (MFA) prevents a complete authentication process and, consequently, access to the ZITADEL API. ### Patches 3.x versions are fixed on >=[3.0.0](https://github.com/zitadel/zitadel/releases/tag/v3.0.0) 2.71.x versions are fixed on >=[2.71.9](https://github.com/zitadel/zitadel/releases/tag/v2.71.9) 2.x versions are fixed on >=[2.70.10](https://github.com/zitadel/zitadel/releases/tag/v2.70.10) ### Workarounds The recommended solution is to update ZITADEL to a patched version. ### Questions If you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com) ### Credits Thanks to Józef Chraplewski from Nedap for reporting this vulnerability.

CVE-2025-46815 Affected Github.com/zitadel/zitadel Versions

3 component(s)
Fixed Versions:
3.0.02.70.102.71.9
Product / Package Ecosystem Affected Versions Fixed Version
github.com/zitadel/zitadel
Go
≥ 3.0.0-rc.1
< 3.0.0
3.0.0
github.com/zitadel/zitadel
Go
< 2.70.10
2.70.10
github.com/zitadel/zitadel
Go
≥ 2.71.0
< 2.71.9
2.71.9

References

Frequently Asked Questions

What is CVE-2025-46815?
CVE-2025-46815 is a security vulnerability in Github.com/zitadel/zitadel involving ZITADEL Allows IdP Intent Token Reuse under CWE-613: Insufficient Session Expiration.
Which Github.com/zitadel/zitadel versions are affected?
Affected versions include releases prior to 3.0.0, 2.70.10, 2.71.9 across affected packages: github.com/zitadel/zitadel.
What version fixes CVE-2025-46815?
Upgrading to 3.0.0, 2.70.10, 2.71.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/zitadel/zitadel affected?
Yes, github.com/zitadel/zitadel is affected in releases prior to 3.0.0, 2.70.10, 2.71.9. Upgrade your dependency to 3.0.0, 2.70.10, 2.71.9 or later.
What is the CVSS score of CVE-2025-46815?
CVE-2025-46815 has a CVSS v3.1 base score of 8.0 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2025-46815?
CVE-2025-46815 is classified under CWE-613: Insufficient Session Expiration (According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.").
How can I check Go dependencies for CVE-2025-46815?
Run the dependency tree command: 'inspect dependencies for github.com/zitadel/zitadel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g4r8-mp7g-85fq",
  "modified" : "2025-05-06T19:57:17Z",
  "published" : "2025-05-06T16:51:16Z",
  "aliases" : [ "CVE-2025-46815" ],
  "summary" : "ZITADEL Allows IdP Intent Token Reuse",
  "details" : "### Impact\n\nZITADEL offers developers the ability to manage user sessions using the [Session API](https://zitadel.com/docs/category/apis/resources/session_service_v2/session-service). This API enables the use of IdPs for authentication, known as idp intents.\n\nFollowing a successful idp intent, the client receives an id and token on a predefined URI. These id and token can then be used to authenticate the user or their session.\n\nHowever, it was possible to exploit this feature by repeatedly using intents. This allowed an attacker with access to the application’s URI to retrieve the id and token, enabling them to authenticate on behalf of the user.\n\nIt’s important to note that the use of additional factors (MFA) prevents a complete authentication process and, consequently, access to the ZITADEL API.\n\n### Patches\n\n3.x versions are fixed on >=[3.0.0](https://github.com/zitadel/zitadel/releases/tag/v3.0.0)\n2.71.x versions are fixed on >=[2.71.9](https://github.com/zitadel/zitadel/releases/tag/v2.71.9)\n2.x versions are fixed on >=[2.70.10](https://github.com/zitadel/zitadel/releases/tag/v2.70.10)\n\n### Workarounds\n\nThe recommended solution is to update ZITADEL to a patched version.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nThanks to Józef Chraplewski from Nedap for reporting this vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0-rc.1"
      }, {
        "fixed" : "3.0.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.0-rc.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.70.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.71.0"
      }, {
        "fixed" : "2.71.9"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.71.8"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/security/advisories/GHSA-g4r8-mp7g-85fq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-46815"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/commit/b1e60e7398d677f08b06fd7715227f70b7ca1162"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zitadel/zitadel"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/releases/tag/v2.70.10"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/releases/tag/v2.71.9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/releases/tag/v3.0.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-294", "CWE-384", "CWE-613" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-06T16:51:16Z",
    "nvd_published_at" : "2025-05-06T18:15:38Z"
  }
}