Skip to content
OpenAdvisories
Critical USN-8557-1 4 CVEs

python-authlib vulnerabilities

Published Jul 16, 2026 · Updated Jul 17, 2026

Summary

Jay Neiva and Mauro Carrillo discovered that Authlib did not properly
validate cryptographic keys embedded in JWT headers. An attacker could
possibly use this issue to forge trusted tokens, resulting in
authentication and authorization bypass. (CVE-2026-27962)

Jay Neiva and Mauro Carrillo discovered that Authlib incorrectly handled
RSA1_5 encrypted tokens. An attacker could possibly use this issue to
recover sensitive encrypted information, resulting in information
disclosure. (CVE-2026-28490)

Jay Neiva and Mauro Carrillo discovered that Authlib did not properly
reject unsupported cryptographic algorithms when validating OpenID
Connect ID tokens. An attacker could possibly use this issue to bypass
token integrity checks, resulting in authentication bypass.
(CVE-2026-28498)

Johnny Deuss discovered that Authlib did not provide cross-site request
forgery protection for the OAuth cache feature in its Starlette
integration. An attacker could possibly use this issue to perform
unauthorized OAuth actions, resulting in cross-site request forgery.
This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS.
(CVE-2026-41425)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS python-authlib 0.15.5-1ubuntu0.1~esm2
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS python-authlib 1.3.0-1ubuntu0.1~esm2
Ubuntu · Pro 26.04 LTS Pro:26.04:LTS python-authlib 1.6.7-1ubuntu0.1~esm1

Vulnerabilities 4

  • Critical 9.1

    Authlib JWS JWK Header Injection: Signature Verification Bypass

    Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a JWK Header Injection vulnerability in authlib's JWS implementation allows an unauthenticated attacker to forge arbitrary JWT tokens that pass signature verifi…

  • High 8.3

    Authlib Vulnerable to JWE RSA1_5 Bleichenbacher Padding Oracle

    Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a cryptographic padding oracle vulnerability was identified in the Authlib Python library concerning the implementation of the JSON Web Encryption (JWE) RSA1_5 …

  • High 8.2

    Authlib: Fail-Open Cryptographic Verification in OIDC Hash Binding

    Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a library-level vulnerability was identified in the Authlib Python library concerning the validation of OpenID Connect (OIDC) ID Tokens. Specifically, the inter…

  • Medium 5.4

    Authlib: Cross-site request forging when using cache

    Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.11, there is no CSRF protection on the cache feature in authlib.integrations.starlette_client.OAuth. This vulnerability is fixed in 1.6.11.

References

  • report
    https://ubuntu.com/security/CVE-2026-27962
  • report
    https://ubuntu.com/security/CVE-2026-28490
  • report
    https://ubuntu.com/security/CVE-2026-28498
  • report
    https://ubuntu.com/security/CVE-2026-41425