CVE-2026-48523
PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
Reported by github_m · Published May 28, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openstack-horizon-2025.1 | Chainguard | 25.3.2_git20260617-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jpadilla | pyjwt | >= 2.9.0, < 2.13.0 |
| chainguard | openstack-horizon-2025.1 | 0 |
| jpadilla | pyjwt | 2.9.0 |
| wolfi | datadog-agent-7.79 | 0 |
| chainguard | openstack-horizon-2026.1 | 0 |
| chainguard | openstack-placement-2025.1 | 0 |
| chainguard | openstack-glance-2025.2 | 0 |
| chainguard | datadog-agent-fips-7.74 | 0 |
| wolfi | datadog-agent-7.77 | 0 |
| chainguard | openstack-horizon-2025.2-fips | 0 |
| chainguard | superset-fips-6.1 | 0 |
| chainguard | datadog-agent-7.78 | 0 |
| chainguard | wazuh-manager-fips | 0 |
| chainguard | openstack-keystone-2025.2-fips | 0 |
| chainguard | openstack-glance-2026.1-fips | 0 |
| chainguard | datadog-agent-fips-7.80 | 0 |
| chainguard | openstack-horizon-2025.1-fips | 0 |
| chainguard | openstack-placement-2025.2-fips | 0 |
| chainguard | datadog-agent-fips-7.76 | 0 |
| chainguard | wazuh-manager | 0 |
…and 50 more
Timeline
- May 28, 2026 CVE Published
- May 28, 2026 CVE Updated
- May 29, 2026 EPSS Score (14 in total, the first dated here)
- May 31, 2026 Coalition ESS Score
- Jun 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-48523
vulnetix vdb fixes CVE-2026-48523
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-48523/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart