CVE-2026-102269: PyJWT · Non-canonical signature segments enable raw-token revocation bypass
Affects hermes-agentSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium : upgrade to 0.22.4 when convenient.
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:L/I:L/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
A fix is available in PyJWT version 0.22.4 and later, which rejects signature segments containing non-canonical Base64URL characters and padding before verification. Until the fixed version is released and adopted, applications should avoid using the raw serialized token string as the identity for revocation or logout. Instead, they should use a semantic identifier such as the 'jti' claim to track token state. The vendor has confirmed the fix and it is ready for release but not yet published.
Description
PyJWT versions including 2.13.0 accept compact JWS signature segments with non-canonical Base64URL characters, allowing alternate token serializations that decode to the same signature bytes and claims. This can enable bypass of raw-token-based revocation or logout mechanisms if the application uses the raw serialized token string as the identity for revocation or replay state. The vulnerability does not allow signature forgery or claim alteration. A fix has been developed to reject non-canonical Base64URL characters in signature segments but is not yet released.
References
- github.com/jpadilla/pyjwt/security/advisories/GHSA-hxm8-2xgr-2p9m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-102269 (opens in a new tab)
- github.com/jpadilla/pyjwt/commit/e6f48401001609a8f99e71fcaf355fb895d508a8 (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)