PYSEC-2026-4356

At a glance

Published
Updated
CVE
CVE-2026-114616
Aliases
GHSA-8m4g-j4wp-wgcg
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

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.

Affected packages

PackageVersions
PyPI · authlibintroduced 0, fixed 1.9.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database