Externally Controlled Reference to a Resource in Another Sphere in pyjwt - #VU132102
Published: May 21, 2026
pyjwt
Detailed vulnerability description
The vulnerability allows a remote attacker to forge tokens.
The vulnerability exists due to improper restriction of externally controlled reference in PyJWKClient when processing attacker-influenced JKU URLs. A remote attacker can point the JKU URL to an attacker-controlled JWK Set to forge tokens.
This attack chain requires additional application-layer flaws, including attacker write access to the referenced path and untrusted jku derivation.