VDB

CVE-2026-48522

CVE-2026-48522 PUBLISHED CVSS 4.2 MEDIUM

Reported by github_m · Published May 28, 2026

pyjwt is fixed in 2.13.0 (PyPI)

PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler. There is currently no documented option to restrict which schemes PyJWKClient will fetch. If an application's jku URL ingestion path accepts attacker-influenced URLs (e.g., from JWT header, configuration file, OAuth flow parameter), the attacker can cause PyJWKClient to read arbitrary local files via file:// (SSRF on local filesystem), cause PyJWKClient to attempt FTP / data-URI fetches (broader SSRF surface), or forge tokens that PyJWT verifies as valid. The library does not directly return non-HTTP(S) URI contents to the attacker; the chained "plant a JWKS to forge tokens" scenario described in the original report requires additional application-layer flaws (attacker write access to a filesystem path, untrusted jku derivation) that this fix does not address. 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
pyjwtPyPI2.13.0
litellmChainguard1.89.0-r4
openstack-keystone-2025.1-fipsChainguard27.0.1_git20260618-r2
datadog-agent-fips-7.74Chainguard7.74.1-r26
openstack-glance-2025.1Chainguard30.2.0_git20260616-r1
openstack-placement-2025.1Chainguard13.0.0_git20260617-r2
python3-jwt+cryptoAmazon Linux2.4.0-1.amzn2023.0.5
datadog-agent-7.73Wolfi7.73.3-r23
datadog-agent-7.74Wolfi7.74.1-r24
openstack-placement-2026.1Chainguard15.0.0_git20260617-r2
datadog-agent-fips-7.76Chainguard7.76.3-r24
datadog-agent-7.78Wolfi7.78.4-r10

45 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
4.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
jpadillapyjwt< 2.13.0
chainguardlitellm0
chainguardopenstack-keystone-2025.1-fips0
chainguarddatadog-agent-fips-7.740
chainguardopenstack-glance-2025.10
chainguardopenstack-placement-2025.10
amazon:2023python3-jwt+crypto0
wolfidatadog-agent-7.730
wolfidatadog-agent-7.740
chainguardopenstack-placement-2026.10
chainguarddatadog-agent-fips-7.760
wolfidatadog-agent-7.780
chainguardairflow-postgres-fips-30
chainguarddatadog-agent-fips-7.780
chainguardwazuh-manager-fips0
chainguarddatadog-agent-7.800
chainguarddatadog-agent-7.790
wolfidatadog-agent-7.800
chainguardopenstack-placement-2025.20
chainguardnetbox0

…and 53 more

Timeline

  • May 28, 2026 CVE Published
  • May 29, 2026 EPSS Score (23 in total, the first dated here)
  • May 31, 2026 Coalition ESS Score
  • Jun 1, 2026 Security Advisory
  • Sep 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-48522
vulnetix vdb fixes CVE-2026-48522

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-48522/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 ›