{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-114616",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-10-21T20:34:25.600Z",
        "datePublished": "2026-10-22T21:14:03.060Z",
        "dateUpdated": "2026-10-22T21:14:03.060Z"
    },
    "containers": {
        "cna": {
            "title": "Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-287",
                            "lang": "en",
                            "description": "CWE-287: Improper Authentication",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-326",
                            "lang": "en",
                            "description": "CWE-326: Inadequate Encryption Strength",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1391",
                            "lang": "en",
                            "description": "CWE-1391: Use of Weak Credentials",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.4,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/authlib/authlib/security/advisories/GHSA-8m4g-j4wp-wgcg",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/authlib/authlib/security/advisories/GHSA-8m4g-j4wp-wgcg"
                },
                {
                    "name": "https://github.com/authlib/authlib/commit/4ff30db442c70e29486e1982cb0ad37c037f5f4b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/authlib/authlib/commit/4ff30db442c70e29486e1982cb0ad37c037f5f4b"
                },
                {
                    "name": "https://github.com/authlib/authlib/releases/tag/v1.9.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/authlib/authlib/releases/tag/v1.9.1"
                }
            ],
            "affected": [
                {
                    "vendor": "authlib",
                    "product": "authlib",
                    "versions": [
                        {
                            "version": "< 1.9.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-22T21:14:03.060Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.1, Authlib's OctKey.import_key() and HMAC signing and verification path accept zero-length key material. If an application's secret lookup can return an empty string or empty bytes, a remote attacker can compute the deterministic HS256, HS384, or HS512 signature for arbitrary token claims and have Authlib treat the token as authentic. This issue is fixed in version 1.9.1."
                }
            ],
            "source": {
                "advisory": "GHSA-8m4g-j4wp-wgcg",
                "discovery": "UNKNOWN"
            }
        }
    }
}