CVE-2026-48523
published medium CVSS 3.1 · 5.4PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jpadilla | — | pyjwt>= 2.9.0, < 2.13.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | resolute | pyjwt | Advisory build | 2.10.1-4ubuntu1.1 | USN-8823-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-15-SP5 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-15-SP6 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
Show 20 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-16 | python313-PyJWTnoarch | Advisory build | 2.12.1-160000.2.1 | SUSE-SU-2026:22170-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-5 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-PyJWTnoarch | Advisory build | 2.12.1-160000.2.1 | OPENSUSE-SU-2026:21095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| Ubuntu | resolute | python3-jwt | Advisory build | 2.10.1-4ubuntu1.1 | USN-8823-1 |
Description
PyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jpadilla | pyjwt | >= 2.9.0, < 2.13.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
1Provider assertions
2GitHub_M · cna
PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 225c384fd4aeb8d40cf668d58ada965c182255b0ecb5cb8196ed5e59e3261ddc
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record