CVE-2026-102267: PyJWT · PyJWKClient follows redirects when fetching JWKS
Affects hermes-agentSource GCVE Database
Not known to be exploited · CVSS 7.4 High : upgrade to 0.22.4 soon.
Data as of 27 Oct 2026, 21:00 UTC
- Patch
- Available – fixed in 0.22.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade hermes-agent to 0.22.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewhermes-agentpkg:brew/hermes-agentOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade PyJWT to version 2.14.0 or later, which includes the fix disabling automatic HTTP redirects in PyJWKClient when fetching JWKS. This prevents redirect-based attacks and JWKS trust poisoning. No other mitigation is required as the fix is official and available.
Description
PyJWT versions up to 2.13.0 contain a vulnerability in the PyJWKClient component, which follows HTTP redirects when fetching JSON Web Key Sets (JWKS) without validating the redirect destination. This allows a trusted JWKS endpoint to redirect requests to an attacker-controlled host, potentially exposing sensitive request headers and enabling JWKS trust poisoning. The vulnerability is fixed in PyJWT 2.14.0.
References
- github.com/jpadilla/pyjwt/security/advisories/GHSA-9v7f-9g4p-ffgj (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-102267 (opens in a new tab)
- github.com/jpadilla/pyjwt/commit/0a795b8e1f6ef08f634aa7086fc41cc6d5ce3e56 (opens in a new tab)
- github.com/jpadilla/pyjwt (opens in a new tab)
- github.com/jpadilla/pyjwt/releases/tag/2.14.0 (opens in a new tab)