VDB

CVE-2026-48523

CVE-2026-48523 PUBLISHED CVSS 5.4 MEDIUM

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.

PackageEcosystemFixed in
openstack-horizon-2025.1Chainguard25.3.2_git20260617-r1

Risk scores

CVSS 3.1
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
jpadillapyjwt>= 2.9.0, < 2.13.0
chainguardopenstack-horizon-2025.10
jpadillapyjwt2.9.0
wolfidatadog-agent-7.790
chainguardopenstack-horizon-2026.10
chainguardopenstack-placement-2025.10
chainguardopenstack-glance-2025.20
chainguarddatadog-agent-fips-7.740
wolfidatadog-agent-7.770
chainguardopenstack-horizon-2025.2-fips0
chainguardsuperset-fips-6.10
chainguarddatadog-agent-7.780
chainguardwazuh-manager-fips0
chainguardopenstack-keystone-2025.2-fips0
chainguardopenstack-glance-2026.1-fips0
chainguarddatadog-agent-fips-7.800
chainguardopenstack-horizon-2025.1-fips0
chainguardopenstack-placement-2025.2-fips0
chainguarddatadog-agent-fips-7.760
chainguardwazuh-manager0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›