hermes-agent · PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of
Affects hermes-agentSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 0.22.4 when convenient.
Data as of 27 Oct 2026, 21:01 UTC
- Patch
- Available – fixed in 0.22.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation 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 to PyJWT version 2.14.0 or later, which includes a fix that enforces a 30-second cooldown between forced JWKS refreshes for unknown 'kid' values, preventing unbounded fetches. Until upgrading, consider disabling JWKS caching or implementing external rate limiting on JWKS endpoint requests if feasible. The fix is official and included in the released version 2.14.0.
Description
PyJWT versions up to 2.13.0 have a denial-of-service vulnerability where unauthenticated requests with unknown 'kid' values cause repeated JWKS endpoint fetches without rate limiting or caching of negative results. This leads to excessive outbound HTTP requests and JSON parsing on the victim server, potentially exhausting resources and causing authentication outages. The issue was fixed in PyJWT 2.14.0 by adding a cooldown period to limit forced JWKS refreshes on unknown kids.
References
- github.com/jpadilla/pyjwt/security/advisories/GHSA-2gx3-rcp4-g85q (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-101917 (opens in a new tab)
- github.com/jpadilla/pyjwt/commit/ba4853a75fb9676362da17f67d0f64bd18afd4e1 (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)