# CVE-2026-102267: PyJWT: PyJWKClient follows redirects when fetching JWKS

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-28T20:23:33.556Z
- Modified: 2026-10-07T20:27:45.713Z
- Also known as: GHSA-9v7f-9g4p-ffgj, PYSEC-2026-4144
- Weaknesses: CWE-200, CWE-345, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- jpadilla pyjwt: < 2.14.0
- pyjwt (PyPI): before 2.14.0
- pyjwt_project pyjwt: before 2.14.0

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9v7f-9g4p-ffgj> (patch, vendor-advisory, web)
- <https://github.com/jpadilla/pyjwt/commit/0a795b8e1f6ef08f634aa7086fc41cc6d5ce3e56> (patch, web)
- <https://github.com/jpadilla/pyjwt/releases/tag/2.14.0> (product, release-notes, 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)

## Sources

- CVE List: [CVE-2026-102267](https://www.cve.org/CVERecord?id=CVE-2026-102267), CVE Terms of Use, modified 2026-10-01
- GitHub Advisory Database: [GHSA-9v7f-9g4p-ffgj](https://github.com/advisories/GHSA-9v7f-9g4p-ffgj), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-102267](https://nvd.nist.gov/vuln/detail/CVE-2026-102267), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4144](https://osv.dev/vulnerability/PYSEC-2026-4144), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-102267 · Whole record: https://cve.day/CVE-2026-102267.json · Rebuilt by cve.day 2026-11-25T22:59:41.386Z
