{"id":"CVE-2026-102267","published":"2026-09-28T20:23:33Z","modified":"2026-10-01T14:56:29Z","title":"PyJWT: PyJWKClient follows redirects when fetching JWKS","vendor":"jpadilla","product":"pyjwt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00238,"percentile":0.08965,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9v7f-9g4p-ffgj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jpadilla/pyjwt/commit/0a795b8e1f6ef08f634aa7086fc41cc6d5ce3e56","tags":["x_refsource_MISC"]},{"url":"https://github.com/jpadilla/pyjwt/releases/tag/2.14.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":1.79},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"jpadilla","affectedVersions":[{"vendor":"jpadilla","product":"pyjwt","versions":["< 2.14.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-01T14:56:20.518342Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"PyJWT","vulnerableRanges":["<2.14.0"],"patched":["2.14.0"],"from":["GHSA-9v7f-9g4p-ffgj","PYSEC-2026-4144"],"provenance":"source"}],"summary":{"text":"PyJWT's PyJWKClient component (the JWKS key-fetching client in the pyjwt Python library) does not revalidate redirect destinations against the trusted JWKS endpoint boundary. An attacker who can influence a response from a configured trusted JWKS endpoint, via a redirect, can cause the client to follow it and treat the redirected response as key material, potentially leaking forwarded credentials or substituting verification keys.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:21:55Z"},"euvd":{"id":"EUVD-2026-88534","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jpadilla-pyjwt-cve-2026-101917","parents":[{"from":"CVE-2026-101917","to":"CVE-2026-102267","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["jwt/jwks_client.py"],"commits":["https://github.com/jpadilla/pyjwt/commit/ba4853a75fb9676362da17f67d0f64bd18afd4e1","https://github.com/jpadilla/pyjwt/commit/0a795b8e1f6ef08f634aa7086fc41cc6d5ce3e56"],"basis":"shared function","functions":["fetch_data"]}]}]}}