authlib vulnerabilities

The ultimate Python library in building OAuth and OpenID Connect servers and clients.

Registry
PyPI
Latest
1.9.9
License
BSD-3-Clause

21 known advisories

The latest version, 1.9.9, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'authlib>=1.9.9'

Is your project on an affected authlib?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for authlib

  • HighCVE-2026-116672GHSA-c73q-w75p-j82v30 Oct 2026

    Authlib RFC 7592 examples omit registration-access-token client binding

    Affected
    >=0.15 <1.9.1
    Fixed in
    1.9.1
  • HighCVE-2026-114616GHSA-8m4g-j4wp-wgcg27 Oct 2026

    Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)

    Affected
    <1.9.1
    Fixed in
    1.9.1
  • MediumCVE-2026-114620GHSA-x4rv-c3wx-4cr827 Oct 2026

    Authlib: Unvalidated request_uri fetch in JWT-secured authorization request (JAR) leading to SSRF

    Affected
    >=1.6.0 <1.9.0
    Fixed in
    1.9.0
  • MediumCVE-2026-114617GHSA-c5mf-xmp2-59rc27 Oct 2026

    Authlib: ID token can disable its own nonce validation via the nonce_supported claim

    Affected
    <1.9.0
    Fixed in
    1.9.0
  • MediumCVE-2026-114618GHSA-fch4-3c6x-j4gc27 Oct 2026

    Authlib: Default JWT bearer grant accepts assertions for the wrong audience

    Affected
    <1.9.0
    Fixed in
    1.9.0
  • MediumCVE-2026-114619GHSA-q686-2qmg-hqc727 Oct 2026

    Authlib: OpenID implicit grant checks raw scope instead of allowed scope before issuing ID tokens

    Affected
    <1.9.0
    Fixed in
    1.9.0
  • HighCVE-2026-114615GHSA-7vr2-2fgp-9w7p27 Oct 2026

    Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keys

    Affected
    >=1.3.1 <1.9.0
    Fixed in
    1.9.0
  • LowCVE-2026-114614GHSA-jj7h-c3hg-m23x27 Oct 2026

    Authlib: is_secure_transport() loopback exemption can be bypassed with a userinfo component, allowing cleartext-HTTP URLs to non-loopback hosts

    Affected
    <1.8.0
    Fixed in
    1.8.0
  • CriticalCVE-2026-96760GHSA-6v38-4h7w-rj9h27 Oct 2026

    Authlib: empty signatures validation in JWS JSON deserialization

    Affected
    <1.9.0
    Fixed in
    1.9.0
  • MediumCVE-2026-41479GHSA-w8p2-r796-3vmq8 Jun 2026

    Authlib OAuth 2.0 has Open Redirect in Authorization API that allows attacker-controlled redirect_uri through unsupported response_type

    Affected
    <1.6.10 · >=1.7.0 <1.7.1
    Fixed in
    1.6.10, 1.7.1
  • MediumCVE-2026-44681GHSA-r95x-qfjj-fjj213 May 2026

    Authlib OIDC Implicit/Hybrid Authorization Vulnerable to Open Redirect

    Affected
    >=1.7.0 <1.7.1 · <1.6.12
    Fixed in
    1.6.12, 1.7.1
  • MediumCVE-2026-41425GHSA-jj8c-mmj3-mmgv16 Apr 2026

    Authlib: Cross-site request forging when using cache

    Affected
    <1.6.11
    Fixed in
    1.6.11
  • HighCVE-2026-28498GHSA-m344-f55w-2m6j16 Mar 2026

    Authlib: Fail-Open Cryptographic Verification in OIDC Hash Binding

    Affected
    <1.6.9
    Fixed in
    1.6.9
  • HighCVE-2026-28490GHSA-7432-952r-cw7816 Mar 2026

    Authlib Vulnerable to JWE RSA1_5 Bleichenbacher Padding Oracle

    Affected
    <1.6.9
    Fixed in
    1.6.9
  • CriticalCVE-2026-27962GHSA-wvwj-cvrp-7pv516 Mar 2026

    Authlib JWS JWK Header Injection: Signature Verification Bypass

    Affected
    <1.6.9
    Fixed in
    1.6.9
  • HighCVE-2026-28802GHSA-7wc2-qxgw-g8gg4 Mar 2026

    Authlib: Setting `alg: none` and a blank signature appears to bypass signature verification

    Affected
    >=1.6.5 <1.6.7
    Fixed in
    1.6.7
  • MediumCVE-2025-68158GHSA-fg6f-75jq-65238 Jan 2026

    Authlib has 1-click Account Takeover vulnerability

    Affected
    >=1.0.0 <1.6.6
    Fixed in
    1.6.6
  • MediumCVE-2025-62706GHSA-g7f3-828f-7h7m10 Oct 2025

    Authlib : JWE zip=DEF decompression bomb enables DoS

    Affected
    <1.6.5
    Fixed in
    1.6.5
  • HighCVE-2025-61920GHSA-pq5p-34cr-23v910 Oct 2025

    Authlib is vulnerable to Denial of Service via Oversized JOSE Segments

    Affected
    <1.6.5
    Fixed in
    1.6.5
  • HighCVE-2025-59420GHSA-9ggr-2464-2j3222 Sept 2025

    Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)

    Affected
    <1.6.4
    Fixed in
    1.6.4
  • HighCVE-2024-37568GHSA-5357-c2jx-v7qh9 Jun 2024

    Authlib has algorithm confusion with asymmetric public keys

    Affected
    <1.3.1
    Fixed in
    1.3.1

Is your authlib version vulnerable?

Which of your client projects still run an old authlib?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.