CVE-2025-31123

Source
https://cve.org/CVERecord?id=CVE-2025-31123
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31123.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-31123
Aliases
  • GHSA-h3q7-347g-qwhf
Published
2025-03-31T19:31:40.507Z
Modified
2026-04-10T05:24:55.164443Z
Severity
  • 8.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
Zitadel Expired JWT Keys Usable for Authorization Grants
Details

Zitadel is open-source identity infrastructure software. A vulnerability existed where expired keys can be used to retrieve tokens. Specifically, ZITADEL fails to properly check the expiration date of the JWT key when used for Authorization Grants. This allows an attacker with an expired key to obtain valid access tokens. This vulnerability does not affect the use of JWT Profile for OAuth 2.0 Client Authentication on the Token and Introspection endpoints, which correctly reject expired keys. This vulnerability is fixed in 2.71.6, 2.70.8, 2.69.9, 2.68.9, 2.67.13, 2.66.16, 2.65.7, 2.64.6, and 2.63.9.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31123.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-324"
    ]
}
References

Affected packages

Git / github.com/zitadel/zitadel

Affected ranges

Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.62.0"
        },
        {
            "fixed": "2.63.9"
        }
    ]
}
Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.64.0-rc.1"
        },
        {
            "fixed": "2.64.6"
        }
    ]
}
Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.65.0-rc.1"
        },
        {
            "fixed": "2.65.7"
        }
    ]
}
Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.66.0-rc.1"
        },
        {
            "fixed": "2.66.16"
        }
    ]
}
Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.67.0-rc.1"
        },
        {
            "fixed": "2.67.13"
        }
    ]
}
Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.68.0-rc.1"
        },
        {
            "fixed": "2.68.9"
        }
    ]
}
Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.69.0-rc.1"
        },
        {
            "fixed": "2.69.9"
        }
    ]
}
Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.70.0-rc.1"
        },
        {
            "fixed": "2.70.8"
        }
    ]
}
Type
GIT
Repo
https://github.com/zitadel/zitadel
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.71.0-rc.1"
        },
        {
            "fixed": "2.71.6"
        }
    ]
}

Affected versions

v2.*
v2.62.0
v2.62.1
v2.62.2
v2.62.3
v2.63.0
v2.63.1
v2.63.2
v2.63.3
v2.63.4
v2.63.5
v2.63.6
v2.63.7
v2.63.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31123.json"