Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/authlib@0.14.2
purl pkg:pypi/authlib@0.14.2
Next non-vulnerable version 1.6.12
Latest non-vulnerable version 1.7.1
Risk 4.0
Vulnerabilities affecting this package (9)
Vulnerability Summary Fixed by
VCID-4wgd-2mpe-tyh3
Aliases:
CVE-2026-28498
GHSA-m344-f55w-2m6j
authlib: Authlib: Authentication bypass via forged OpenID Connect ID Tokens
1.6.9
Affected by 2 other vulnerabilities.
VCID-f8jg-a3bd-x7ax
Aliases:
CVE-2025-59420
GHSA-9ggr-2464-2j32
Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass) Authlib’s JWS verification accepts tokens that declare unknown critical header parameters (`crit`), violating RFC 7515 “must‑understand” semantics. An attacker can craft a signed token with a critical header (for example, `bork` or `cnf`) that strict verifiers reject but Authlib accepts. In mixed‑language fleets, this enables split‑brain verification and can lead to policy bypass, replay, or privilege escalation.
1.6.4
Affected by 8 other vulnerabilities.
VCID-hrf7-xz6n-efcg
Aliases:
CVE-2026-41425
GHSA-jj8c-mmj3-mmgv
PYSEC-2026-25
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.
1.6.11
Affected by 1 other vulnerability.
VCID-pt7d-e6h5-kbd2
Aliases:
CVE-2026-28490
GHSA-7432-952r-cw78
authlib: Authlib: Information disclosure due to cryptographic padding oracle in JWE RSA1_5
1.6.9
Affected by 2 other vulnerabilities.
VCID-sk4t-73s6-rqg9
Aliases:
CVE-2026-44681
GHSA-r95x-qfjj-fjj2
PYSEC-2026-188
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.12 and 1.7.1, an unauthenticated open redirect in Authlib's OpenIDImplicitGrant and OpenIDHybridGrant authorization endpoint lets a remote attacker cause the authorization server to issue an HTTP 302 to an attacker-chosen URL by submitting an authorization request that omits the openid scope. This vulnerability is fixed in 1.6.12 and 1.7.1.
1.6.12
Affected by 0 other vulnerabilities.
1.7.1
Affected by 0 other vulnerabilities.
VCID-sp9r-m79r-ryd5
Aliases:
CVE-2025-62706
GHSA-g7f3-828f-7h7m
Authlib : JWE zip=DEF decompression bomb enables DoS _Authlib’s JWE `zip=DEF` path performs unbounded DEFLATE decompression. A very small ciphertext can expand into tens or hundreds of megabytes on decrypt, allowing an attacker who can supply decryptable tokens to exhaust memory and CPU and cause denial of service._
1.6.5
Affected by 7 other vulnerabilities.
VCID-tk6q-528z-rye4
Aliases:
CVE-2024-37568
GHSA-5357-c2jx-v7qh
PYSEC-2024-52
lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)
1.3.1
Affected by 9 other vulnerabilities.
VCID-vjhy-tvsd-gbfm
Aliases:
CVE-2025-61920
GHSA-pq5p-34cr-23v9
Authlib is vulnerable to Denial of Service via Oversized JOSE Segments **Summary** Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. **Impact** - Attack vector: unauthenticated network attacker submits a malicious JWS/JWT. - Effect: base64 decode + JSON/crypto processing of huge buffers pegs CPU and allocates large amounts of RAM; a single request can exhaust service capacity. - Observed behaviour: on a test host, the legacy code verified a 500 MB header, consuming ~4 GB RSS and ~9 s CPU before failing. - Severity: High. CVSS v3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5). Affected Versions Authlib ≤ 1.6.3 (and earlier) when verifying JWS/JWT tokens. Later snapshots with 256 KB header/signature limits are not affected. **Proof of concept**
1.6.5
Affected by 7 other vulnerabilities.
VCID-zafh-nuvx-6fch
Aliases:
CVE-2026-27962
GHSA-wvwj-cvrp-7pv5
authlib: Authlib: Authentication bypass due to JWK Header Injection vulnerability
1.6.9
Affected by 2 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T08:08:03.406262+00:00 GitLab Importer Affected by VCID-hrf7-xz6n-efcg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/CVE-2026-41425.yml 38.6.0
2026-06-06T08:07:22.072644+00:00 GitLab Importer Affected by VCID-hrf7-xz6n-efcg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/GHSA-jj8c-mmj3-mmgv.yml 38.6.0
2026-06-06T07:27:46.437098+00:00 GitLab Importer Affected by VCID-zafh-nuvx-6fch https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/CVE-2026-27962.yml 38.6.0
2026-06-06T07:27:43.138558+00:00 GitLab Importer Affected by VCID-pt7d-e6h5-kbd2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/CVE-2026-28490.yml 38.6.0
2026-06-06T07:27:38.014295+00:00 GitLab Importer Affected by VCID-4wgd-2mpe-tyh3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/CVE-2026-28498.yml 38.6.0
2026-06-06T06:13:43.441222+00:00 GitLab Importer Affected by VCID-vjhy-tvsd-gbfm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/CVE-2025-61920.yml 38.6.0
2026-06-06T06:13:43.060185+00:00 GitLab Importer Affected by VCID-sp9r-m79r-ryd5 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/CVE-2025-62706.yml 38.6.0
2026-06-06T06:09:34.612317+00:00 GitLab Importer Affected by VCID-f8jg-a3bd-x7ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/CVE-2025-59420.yml 38.6.0
2026-06-06T05:06:26.875399+00:00 GitLab Importer Affected by VCID-tk6q-528z-rye4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/authlib/CVE-2024-37568.yml 38.6.0
2026-06-05T17:05:35.582671+00:00 PyPI Importer Affected by VCID-sk4t-73s6-rqg9 https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.6.0
2026-06-05T17:05:22.465384+00:00 PyPI Importer Affected by VCID-hrf7-xz6n-efcg https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.6.0
2026-06-05T17:03:51.581931+00:00 PyPI Importer Affected by VCID-tk6q-528z-rye4 https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.6.0
2026-06-04T16:14:39.807538+00:00 Pypa Importer Affected by VCID-sk4t-73s6-rqg9 https://github.com/pypa/advisory-database/blob/main/vulns/authlib/PYSEC-2026-188.yaml 38.6.0
2026-06-02T04:24:54.667428+00:00 Pypa Importer Affected by VCID-hrf7-xz6n-efcg https://github.com/pypa/advisory-database/blob/main/vulns/authlib/PYSEC-2026-25.yaml 38.6.0
2026-06-02T04:21:28.810358+00:00 Pypa Importer Affected by VCID-tk6q-528z-rye4 https://github.com/pypa/advisory-database/blob/main/vulns/authlib/PYSEC-2024-52.yaml 38.6.0