{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2025-31123",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-03-26T15:04:52.626Z",
        "datePublished": "2025-03-31T19:31:40.507Z",
        "dateUpdated": "2025-03-31T22:38:38.383Z"
    },
    "containers": {
        "cna": {
            "title": "Zitadel Expired JWT Keys Usable for Authorization Grants",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-324",
                            "lang": "en",
                            "description": "CWE-324: Use of a Key Past its Expiration Date",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 8.7,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "HIGH",
                        "scope": "CHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-h3q7-347g-qwhf"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/commit/315503beabd679f2e6aec0c004f0f9d2f5b53ed3"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.63.9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.63.9"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.64.6",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.64.6"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.65.7",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.65.7"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.66.16",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.66.16"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.67.13",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.67.13"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.68.9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.68.9"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.69.9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.69.9"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.70.8",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.70.8"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.71.6",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.71.6"
                }
            ],
            "affected": [
                {
                    "vendor": "zitadel",
                    "product": "zitadel",
                    "versions": [
                        {
                            "version": ">= 2.62.0, < 2.63.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.64.0-rc.1, < 2.64.6",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.65.0-rc.1, < 2.65.7",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.66.0-rc.1, < 2.66.16",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.67.0-rc.1, < 2.67.13",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.68.0-rc.1, < 2.68.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.69.0-rc.1, < 2.69.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.70.0-rc.1, < 2.70.8",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.71.0-rc.1, < 2.71.6",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-03-31T19:31:40.507Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-h3q7-347g-qwhf",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-03-31T22:38:16.728894Z",
                                "id": "CVE-2025-31123",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-03-31T22:38:38.383Z"
                }
            }
        ]
    }
}