Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence configured trusted JWKS endpoint
-
DeliveryReturn attacker-controlled HTTP redirect
-
ExploitPyJWKClient follows redirect to malicious host
-
ExecutionLeak forwarded auth headers, serve rogue keys
-
ImpactPoison JWKS trust and forge accepted JWTs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation is NOT unconditional despite PR:N. Concrete prerequisites: (1) the application must use PyJWKClient (not just core jwt.decode) to fetch a remote JWKS; (2) the attacker must be able to influence the configured trusted JWKS endpoint so it returns an HTTP 3xx redirect to an attacker-chosen host (e.g. by compromising or manipulating that endpoint's response) - a token 'kid' alone does NOT trigger it; (3) for header/credential leakage, the application must pass caller-supplied request headers (such as an Authorization header) to PyJWKClient; (4) for forged-JWT acceptance, a 'mixed-configuration' deployment is required; (5) affected PyJWT version ≤ 2.13.0. Limiting factors: the need to control the trusted endpoint's redirect response and the dependence on header-forwarding/mixed configuration substantially narrow real-world exploitability below what the 9.1 base score suggests. |
| Impact | Signals conflict sharply. The published CVSS is 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), driven by network vector, no authentication, and dual High confidentiality/integrity impact. However, EPSS is only 0.16% (4th percentile), there is no CISA KEV listing, no public exploit is referenced, and CISA SSVC records Exploitation=none and Automatable=no (only Technical Impact=total aligns with the high CVSS). The CVSS AC:L is questionable: the GHSA advisory states exploitation 'requires an attacker-influenced redirect from the configured JWKS endpoint' AND caller-supplied request headers in a 'mixed-configuration application' - those are non-trivial, deployment-specific preconditions that argue for higher attack complexity than AC:L implies. Net assessment: this is a genuine trust-boundary flaw in a very popular library and worth prompt patching, but it is a high-CVSS / lower-real-world-risk case rather than an active-exploitation emergency - the inflated base score does not reflect the layered conditions actually required. Verify the AC:L rating against the described redirect-and-header precondition with the vendor. |
| Exploit ScenarioDerived | An attacker who can influence the response of an application's configured trusted JWKS endpoint causes it to return an HTTP redirect to a host the attacker controls. Because PyJWKClient (≤ 2.13.0) follows redirects without revalidating them against the JWKS trust boundary, it forwards any caller-supplied request headers (potentially leaking credentials) to the attacker host and consumes the redirected response as authoritative key material, enabling JWKS trust poisoning and forged-JWT acceptance. No public exploit identified at time of analysis; the GHSA advisory includes a regression test but not a weaponized PoC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 07, 2026
JWKS trust-boundary bypass in PyJWT's PyJWKClient allows a configured trusted JWKS endpoint that returns an HTTP 3xx redirect to steer the client to an attacker-chosen host, which is then consumed as authoritative key material; the same mechanism can forward caller-supplied request headers such as Authorization to that destination. Only PyJWT 2.13.0 and earlier are affected (fixed in 2.14.0), and exploitation is not unconditional: it requires the application to actually use PyJWKClient for remote JWKS fetching, attacker influence over the trusted endpoint's redirect response, and - for credential leakage - caller-supplied headers passed into the client, or - for forged-JWT acceptance - a mixed-configuration deployment. There is no confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis; EPSS is low at 0.16% (4th percentile), and CISA SSVC rates Exploitation as 'none' and Automatable as 'no', so the practical risk sits well below the headline 9.1 base score.
Earlier versions of this analysis (1)
PyJWKClient in PyJWT prior to 2.14.0 follows HTTP redirects issued by a configured trusted JWKS endpoint without revalidating the redirect target against the JWKS trust boundary, so a redirect to an attacker-influenced host causes PyJWT to fetch and consume that response as key material. This can disclose forwarded credentials (for example an Authorization header configured on the client) and can substitute the verification keys used to validate JWTs, giving both confidentiality and integrity impact (CVSS 3.1: 7.4 High, AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:N, unauthenticated per the vector). Exploitation requires the trusted, integrity-protected JWKS endpoint to actually return an attacker-influenced redirect (open redirect on the trusted host, MITM/DNS position, or a compromised JWKS host), which is why the assessed vector assigns high attack complexity; no public exploit code was identified at time of analysis and the issue is fixed in 2.14.0.
RemediationAI
Vendor-released patch: PyJWT 2.14.0 (released 2026-09-11), the first release containing commit 0a795b8e1f6ef08f634aa7086fc41cc6d5ce3e56, which disables automatic redirects in PyJWKClient; upgrade with 'pip install --upgrade PyJWT==2.14.0' or a pinned later 2.x, and verify the resolved version in your lockfile since transitive dependencies may pin older releases. Full details are in the upstream advisory at https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9v7f-9g4p-ffgj and the release tag at https://github.com/jpadilla/pyjwt/releases/tag/2.14.0. Where immediate upgrade is impossible, compensating controls in order of effectiveness: stop passing caller- or request-derived headers (especially Authorization or bearer tokens) into PyJWKClient, since header forwarding is what turns this into credential disclosure - the trade-off is that you lose per-request auth toward the JWKS host and may need that host to be publicly readable; wrap JWKS fetching in your own HTTP client configured with redirects disabled (e.g. requests with allow_redirects=False) and hand the fetched JWKS to PyJWKClient via a cached/local source, which requires a small amount of custom code and cache-invalidation logic; strictly allowlist the configured JWKS URL and, if feasible, pin the TLS certificate or public key of the JWKS host so a redirected connection fails certificate validation - effective but operationally brittle under certificate rotation; and monitor outbound 3xx responses and unexpected JWKS hostnames as detection for exploitation attempts. Also rotate any credentials that may have been forwarded to a redirect destination if you suspect prior exposure, and be aware that no public exploit code is currently identified, so opportunistic scanning pressure remains low.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PyJWT is the widely used Python implementation of JWT/JWS/JWE, and PyJWKClient is its helper for fetching a JSON Web Key Set from a remote, pre-configured JWKS URL and selecting the key matching a token's 'kid'. Internally the client performed the fetches with urllib.request.urlopen(), which installs urllib's default HTTPRedirectHandler and therefore silently follows 3xx responses to any destination. Because the client treated the final response body as the key set without revalidating the redirect target against the original JWKS trust boundary, a redirect from the trusted endpoint could substitute attacker-controlled key material (JWKS trust poisoning) and, when the caller supplied custom headers, replay those headers to the redirect destination - the classic CWE-200 information-exposure pattern, here with an integrity/forgery consequence. The upstream fix (commit 0a795b8e1f6ef08f634aa7086fc41cc6d5ce3e56) adds a _NoRedirectHandler subclass of urllib.request.HTTPRedirectHandler whose redirect_request() returns None, and builds an opener with that handler (plus an explicit HTTPSHandler when an ssl_context is configured) instead of calling urlopen() directly; the destination is never contacted on redirect, and regression tests confirm normal fetches, headers, caching, error handling, timeouts and SSL context behavior are preserved. Note the divergence between the vendor-supplied CVSS vector (AC:L, 9.1) and the independent assessment (AC:H), reflecting how much attacker control over the trusted endpoint the exploit genuinely requires.
Know when Pyjwt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Remote and unauthenticated (AV:N/PR:N), but AC:H because it requires an attacker-influenced redirect from the trusted endpoint plus header-forwarding/mixed config; header leak gives C:H and key substitution gives I:H, no availability impact.
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Blast Radius
ecosystem impact- 17 pypi packages depend on pyjwt (16 direct, 1 indirect)
Ecosystem-wide dependent count for version 2.14.0.
Articles & Coverage 1
Technical POC Analysis
Advisory: GHSA-9v7f-9g4p-ffgj (canonical), duplicate GHSA-43g3-98cx-x446.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
PyJWT's remote key-fetching component (PyJWKClient) in versions 2.13.0 and earlier can be redirected by a compromised or attacker-influenced JWKS endpoint to fetch signing keys from a host of the attacker's choosing, potentially allowing forged authentication tokens to be accepted in certain deployments and, in narrower cases, exposure of caller-supplied request headers such as Authorization. Because PyJWT underpins token validation in many Python services, any application relying on remote JWKS fetching should be inventoried and remediated promptly, though exploitation requires specific configuration preconditions and no public exploit code or active exploitation has been identified.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Forged HS256 JSON Web Tokens can be accepted as authentic by PyJWT (pip package PyJWT) versions 2.13.0 through 2.13.x wh
Improper validation in PyJWT 2.1.0 through 2.14.0 allows an attacker who already holds a stolen sender-constrained (DPoP
Denial of service in PyJWT 2.9.0 through 2.13.0: a single malformed RSA JWK embedded in a JWK Set aborts construction of
Unauthenticated denial of service in the PyJWT Python library (versions 2.0.0a1 through 2.14.0) allows a remote attacker
pyjwt is a JSON Web Token implementation in Python. Rated high severity (CVSS 7.5), this vulnerability is remotely explo
Authentication bypass in PyJWT versions prior to 2.13.0 allows remote attackers to forge valid JSON Web Tokens by exploi
Reuse of a caller-supplied options mapping in PyJWT 2.11.0 through 2.13.0 can silently leave registered-claim verificati
Malformed JSON Web Token headers can cause an uncaught RecursionError in PyJWT 2.13.0 through versions before 2.14.0, re
Uncontrolled resource consumption in PyJWT 2.8.0-2.12.1 exposes any service that verifies detached JWS tokens to unauthe
Signature forgery in PyJWT before 2.14.0 allows an attacker who knows a target's asymmetric public key to forge HMAC-aut
Unconstrained outbound JWKS requests in PyJWT's PyJWKClient.get_signing_key() allow unauthenticated remote attackers to
Unauthenticated attackers can amplify outbound HTTP traffic from any application that validates JWTs with PyJWT's PyJWKC
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 | Affected |
| SUSE Linux Enterprise Micro 5.5 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| SUSE Linux Micro 6.2 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Public Cloud 12 | Affected |
| SUSE Linux Enterprise Module for Public Cloud 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | Affected |
| SUSE Linux Enterprise Server 12 SP5 | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE CaaS Platform 3.0 | Affected |
| SUSE CaaS Platform 4.0 | Affected |
| SUSE Enterprise Storage 6 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP3 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Public Cloud 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Public Cloud 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 12 | Affected |
| SUSE Linux Enterprise Server 12 SP3 | Affected |
| SUSE Linux Enterprise Server 12 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP1 | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Manager Proxy 4.0 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Proxy LTS 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.0 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Affected |
| SUSE Manager Server 3.2 | Affected |
| SUSE Manager Server 4.0 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Manager Server LTS 4.3 | Affected |
| SUSE OpenStack Cloud 7 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-88534
GHSA-9v7f-9g4p-ffgj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB