CVE-2026-48522
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pyjwt | PyPI | 2.13.0 |
| litellm | Chainguard | 1.89.0-r4 |
| openstack-keystone-2025.1-fips | Chainguard | 27.0.1_git20260618-r2 |
| datadog-agent-fips-7.74 | Chainguard | 7.74.1-r26 |
| openstack-glance-2025.1 | Chainguard | 30.2.0_git20260616-r1 |
| openstack-placement-2025.1 | Chainguard | 13.0.0_git20260617-r2 |
| python3-jwt+crypto | Amazon Linux | 2.4.0-1.amzn2023.0.5 |
| datadog-agent-7.73 | Wolfi | 7.73.3-r23 |
| datadog-agent-7.74 | Wolfi | 7.74.1-r24 |
| openstack-placement-2026.1 | Chainguard | 15.0.0_git20260617-r2 |
| datadog-agent-fips-7.76 | Chainguard | 7.76.3-r24 |
| datadog-agent-7.78 | Wolfi | 7.78.4-r10 |
45 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jpadilla | pyjwt | < 2.13.0 |
| chainguard | litellm | 0 |
| chainguard | openstack-keystone-2025.1-fips | 0 |
| chainguard | datadog-agent-fips-7.74 | 0 |
| chainguard | openstack-glance-2025.1 | 0 |
| chainguard | openstack-placement-2025.1 | 0 |
| amazon:2023 | python3-jwt+crypto | 0 |
| wolfi | datadog-agent-7.73 | 0 |
| wolfi | datadog-agent-7.74 | 0 |
| chainguard | openstack-placement-2026.1 | 0 |
| chainguard | datadog-agent-fips-7.76 | 0 |
| wolfi | datadog-agent-7.78 | 0 |
| chainguard | airflow-postgres-fips-3 | 0 |
| chainguard | datadog-agent-fips-7.78 | 0 |
| chainguard | wazuh-manager-fips | 0 |
| chainguard | datadog-agent-7.80 | 0 |
| chainguard | datadog-agent-7.79 | 0 |
| wolfi | datadog-agent-7.80 | 0 |
| chainguard | openstack-placement-2025.2 | 0 |
| chainguard | netbox | 0 |
…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
References
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-993g-76c3-p5m4 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-48522 advisory
- https://github.com/advisories/GHSA-993g-76c3-p5m4 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pyjwt/PYSEC-2026-175.yaml advisory
- https://github.com/github/advisory-database/pull/8521 advisory