CVE-2025-64431: Github.com/zitadel/zitadel IDOR Vulnerabilities Vulnerability

HIGH
Advisory Identifier: GHSA-cpf4-pmr4-w6cx
CWE-639
Published
Advisory Summary

CVE-2025-64431 is a HIGH idor vulnerabilities vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Github.com/zitadel/zitadel libraries in the Go ecosystem. The issue involves idor vulnerabilities in zitadel's organization api allows cross-tenant data tempering. Remediation is available by upgrading affected packages to version 4.6.3, 1.80.0-v2.20.0.20251105083648-8dcfff97ed52.

CVE-2025-64431 at a Glance

CVE Identifier CVE-2025-64431
GHSA Identifier GHSA-cpf4-pmr4-w6cx
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Github.com/zitadel/zitadel
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-64431

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: 4.6.3
Upgrade github.com/zitadel/zitadel to 4.6.3
github.com/zitadel/zitadel fixed: 1.80.0-v2.20.0.20251105083648-8dcfff97ed52
Upgrade github.com/zitadel/zitadel to 1.80.0-v2.20.0.20251105083648-8dcfff97ed52
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-64431, 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 4.6.3), 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-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. 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

### Summary ZITADEL's Organization V2Beta API contains Insecure Direct Object Reference (IDOR) vulnerabilities that allow authenticated users with specific **administrator** roles within one organization to access and modify data belonging to **other** organizations. ### Impact ZITADEL's Organization V2Beta API, intended for managing ZITADEL organizations, contains multiple endpoints that fail to properly authorize authenticated users. An attacker with an administrator role for a specific organization could exploit this to bypass access controls and perform unauthorized actions on other organizations within the same ZITADEL instance. This could allow an attacker to: - **Read** organization data, including the name, domains and metadata. - **Manipulate** (modify) the corresponding organization data. - **Delete** the corresponding data, up to and including the entire organization. Note that this vulnerability is limited to organization-level data (name, domains, metadata). **No other related data (such as users, projects, applications, etc.) is affected.** ### Affected Versions Systems running one of the following versions are affected: - **v4.x**: `4.0.0-rc.1` through `4.6.2` ### Patches The vulnerability has been addressed in the latest release. The patch resolves the issue by correctly validating the caller's permission against the target organization. - v4.x: Upgrade to version [4.6.3](https://github.com/zitadel/zitadel/releases/tag/v4.6.3) or later. ### Workarounds Upgrading to a patched version is the recommended solution. If an immediate upgrade is not possible, mitigation can be achieved by disabling the affected Organization V2Beta API endpoints (e.g., /v2beta/organizations/...) at a reverse proxy or Web Application Firewall (WAF) level. ### Questions If you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)

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

2 component(s)
Fixed Versions:
4.6.31.80.0-v2.20.0.20251105083648-8dcfff97ed52
Product / Package Ecosystem Affected Versions Fixed Version
github.com/zitadel/zitadel
Go
≥ 4.0.0-rc.1
< 4.6.3
4.6.3
github.com/zitadel/zitadel
Go
≥ 1.80.0-v2.20.0.20250414095945-f365cee73242
< 1.80.0-v2.20.0.20251105083648-8dcfff97ed52
1.80.0-v2.20.0.20251105083648-8dcfff97ed52

References

Frequently Asked Questions

What is CVE-2025-64431?
CVE-2025-64431 is a security vulnerability in Github.com/zitadel/zitadel involving IDOR Vulnerabilities in ZITADEL's Organization API allows Cross-Tenant Data Tempering under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Github.com/zitadel/zitadel versions are affected?
Affected versions include releases prior to 4.6.3, 1.80.0-v2.20.0.20251105083648-8dcfff97ed52 across affected packages: github.com/zitadel/zitadel.
What version fixes CVE-2025-64431?
Upgrading to 4.6.3, 1.80.0-v2.20.0.20251105083648-8dcfff97ed52 (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 4.6.3, 1.80.0-v2.20.0.20251105083648-8dcfff97ed52. Upgrade your dependency to 4.6.3, 1.80.0-v2.20.0.20251105083648-8dcfff97ed52 or later.
What CWE is associated with CVE-2025-64431?
CVE-2025-64431 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Go dependencies for CVE-2025-64431?
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-cpf4-pmr4-w6cx",
  "modified" : "2025-11-07T21:55:43Z",
  "published" : "2025-11-05T19:52:01Z",
  "aliases" : [ "CVE-2025-64431" ],
  "summary" : "IDOR Vulnerabilities in ZITADEL's Organization API allows Cross-Tenant Data Tempering",
  "details" : "### Summary\n\nZITADEL's Organization V2Beta API contains Insecure Direct Object Reference (IDOR) vulnerabilities that allow authenticated users with specific **administrator** roles within one organization to access and modify data belonging to **other** organizations.\n\n### Impact\n\nZITADEL's Organization V2Beta API, intended for managing ZITADEL organizations, contains multiple endpoints that fail to properly authorize authenticated users. An attacker with an administrator role for a specific organization could exploit this to bypass access controls and perform unauthorized actions on other organizations within the same ZITADEL instance.\n\nThis could allow an attacker to:\n\n- **Read** organization data, including the name, domains and metadata.\n- **Manipulate** (modify) the corresponding organization data.\n- **Delete** the corresponding data, up to and including the entire organization.\n\nNote that this vulnerability is limited to organization-level data (name, domains, metadata). **No other related data (such as users, projects, applications, etc.) is affected.**\n\n### Affected Versions\n\nSystems running one of the following versions are affected:\n- **v4.x**: `4.0.0-rc.1` through `4.6.2`\n\n### Patches\n\nThe vulnerability has been addressed in the latest release. The patch resolves the issue by correctly validating the caller's permission against the target organization.\n\n- v4.x: Upgrade to version [4.6.3](https://github.com/zitadel/zitadel/releases/tag/v4.6.3) or later.\n\n### Workarounds\n\nUpgrading to a patched version is the recommended solution.\n\nIf an immediate upgrade is not possible, mitigation can be achieved by disabling the affected Organization V2Beta API endpoints (e.g., /v2beta/organizations/...) at a reverse proxy or Web Application Firewall (WAF) level.\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)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-rc.1"
      }, {
        "fixed" : "4.6.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 4.6.2"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.80.0-v2.20.0.20250414095945-f365cee73242"
      }, {
        "fixed" : "1.80.0-v2.20.0.20251105083648-8dcfff97ed52"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/security/advisories/GHSA-cpf4-pmr4-w6cx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64431"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/commit/8dcfff97ed52a8b9fc77ecb1f972744f42cff3ed"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zitadel/zitadel"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/releases/tag/v4.6.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-05T19:52:01Z",
    "nvd_published_at" : "2025-11-07T19:16:26Z"
  }
}