CVE-2026-102267
CRITICAL 9.1CVSS 3.1PyJWT: PyJWKClient follows redirects when fetching JWKS
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT PyJWKClient is affected because redirect destinations are not revalidated against the JWKS trust boundary. This occurs when a configured trusted JWKS endpoint returns an attacker-influenced redirect. As a result, PyJWKClient follows the redirect and consumes the redirected response as key material. Consequently, forwarded credentials may be disclosed or verification keys may be substituted. This issue is fixed in version 2.14.0.
- Published
- 28 Sep 2026
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-200CWE-345CWE-918
- Also known as
- GHSA-9v7f-9g4p-ffgjPYSEC-2026-4144
- Sources
- NVDJSONOSV GHSA-9v7f-9g4p-ffgjJSONOSV PYSEC-2026-4144JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pyjwt_project | pyjwtcpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:* |
< 2.14.0 | 2.14.0 |
| OSV | PyPI | pyjwt | < 2.14.0 | 2.14.0 |
References
- https://github.com/jpadilla/pyjwt/commit/0a795b8e1f6ef08f634aa7086fc41cc6d5ce3e56 · Patch, WEB
- https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 · Product, Release Notes, WEB
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9v7f-9g4p-ffgj · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-102267 · ADVISORY
- https://github.com/jpadilla/pyjwt · PACKAGE
- https://pypi.org/project/pyjwt · PACKAGE
- https://github.com/advisories/GHSA-9v7f-9g4p-ffgj · ADVISORY
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 28 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Sep 2026)