Skip to main content
CVE-2026-48525VulnerabilityPublished Updated

hermes-agent · PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS

Affects hermes-agentSource GCVE Database

0
Compare
Authoritative record:CVE-2026-48525· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 2026.7.1 when convenient.

Data as of 30 Oct 2026, 09:02 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2026.7.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewhermes-agentpkg:brew/hermes-agentOther threatsAffected
  • >=2026.4.30 <2026.7.1
Fixed in
  • 2026.7.1

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 PyJWT version 2.12.1 and later that fixes this issue by reordering the decode logic to avoid unnecessary Base64URL decoding of the unused payload segment when 'b64' is false. Users should upgrade to version 2.12.1 or later to remediate this vulnerability. If upgrading immediately is not possible, enforcing strict request body size limits upstream (e.g., in proxies or web servers) can help mitigate the amplification effect by bounding the maximum payload size accepted.

Description

PyJWT versions from 2.4.0 up to but not including 2.12.1 contain a vulnerability in the handling of detached JWS tokens with the unencoded-payload option (b64=false). The library performs Base64URL decoding of the payload segment before enforcing detached payload rules, causing unnecessary CPU and memory usage even if the signature is invalid. This allows an unauthenticated remote attacker to cause a denial of service (DoS) by sending tokens with large payload segments, amplifying resource consumption on the server.

References

Community reviews

Loading reviews…