CVE-2026-48523: PyJWT · Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
Affects hermes-agentSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium : upgrade to 2026.7.1 when convenient.
Data as of 30 Oct 2026, 09:02 UTC
- Patch
- Available – fixed in 2026.7.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 29 Oct 2026.
What to do
Upgrade hermes-agent to 2026.7.1.
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
A patch is available in version 2026.7.1 that fixes this vulnerability. Users should upgrade to this version or later to remediate the issue. No additional mitigations are required if the patch is applied. Until patched, deployments should be aware that algorithm allow-list enforcement can be bypassed when using PyJWK or PyJWKClient keys.
Description
PyJWT versions 2.9.0 through 2.12.1 contain a vulnerability allowing an algorithm allow-list bypass when decoding JWTs with PyJWK or PyJWKClient keys. The library checks the JWT header algorithm against an allowed list but verifies the signature using the algorithm bound to the PyJWK object instead of the header algorithm. This allows an attacker controlling a registered JWK private key to sign tokens with disallowed algorithms while advertising allowed ones, bypassing algorithm restrictions. The issue affects the documented PyJWKClient usage flow and requires control of a registered key. A fix is available in version 2026.7.1.