CVE-2026-48524Pyjwt Project Pyjwt
Low 3.7 No auth needed
Follow: this CVE · Pyjwt Project · Pyjwt Project Pyjwt We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 3.7
- EPSS
- —
- Auth required
- No
- Published
- May 28, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can trigger unlimited outbound requests. The vulnerability surfaces only when a JWKS fetch fails; an attacker can attempt to provoke that with sustained unknown-kid traffic, but the outcome depends on upstream JWKS-endpoint behavior (rate limiting, transient errors) which is beyond the attacker's control. This vulnerability is fixed in 2.13.0.
What to do
- Apply the vendor's security update for Pyjwt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pyjwt |
≥ 2.0.0 < 2.13.0 |
2.13.0 |
pip install "pyjwt>=2.13.0" |
| PyPI | pyjwt |
< 2.13.0 |
2.13.0 |
pip install "pyjwt>=2.13.0" |
Per OSV / GitHub Advisories (GHSA-fhv5-28vv-h8m8, PYSEC-2026-177). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pyjwt_project | pyjwt | < 2.13.0 |
Official advisories
- Security update for python-PyJWT · SUSE · SUSE-SU-2026:2626-1 · Jun 25, 2026 High
- Security update for python-PyJWT · SUSE · SUSE-SU-2026:22170-1 · Jun 19, 2026 High
- Security update for python-PyJWT · SUSE · SUSE-SU-2026:22220-1 · Jun 19, 2026 High
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory