CVE-2025-46815: Github.com/zitadel/zitadel ZITADEL Allows IdP Intent Token Vulnerability
HIGHCVE-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
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).
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.
Upgrade github.com/zitadel/zitadel to 3.0.0
Upgrade github.com/zitadel/zitadel to 2.70.10
Upgrade github.com/zitadel/zitadel to 2.71.9
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
CVE-2025-46815 Affected Github.com/zitadel/zitadel Versions
3 component(s)| 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?
Which Github.com/zitadel/zitadel versions are affected?
What version fixes CVE-2025-46815?
Is github.com/zitadel/zitadel affected?
What is the CVSS score of CVE-2025-46815?
What CWE is associated with CVE-2025-46815?
How can I check Go dependencies for CVE-2025-46815?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}