CVE Watchtower

CVE-2026-49852joserfc Improper Authentication

NVD

Vulnerability Summary

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.6.8, joserfc.jwt.decode accepts attacker-forged HMAC-signed tokens when the caller-supplied verification key is the empty string or None, because HMACAlgorithm.sign and HMACAlgorithm.verify in src/joserfc/_rfc7518/jws_algs.py pass the output of OctKey.get_op_key(...) to hmac.new(...) and OctKey.import_key in src/joserfc/_rfc7518/oct_key.py only emits a SecurityWarning for keys shorter than 14 bytes without rejecting zero-length input. This issue is fixed in version 1.6.8.
Severity Level
HIGH
Published Date
Jul 2, 2026
Last Modified
Jul 20, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.14%Probability
Root Weakness (CWE)
When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct.
The product stores or transmits sensitive data using an encryption scheme that is not strong enough for the level of protection required.
See the MITRE CWE entry for the full definition of this weakness.

Affected & Patched Versions

Affected Versions
  • joserfc <= 1.6.7
Patched Versions
  • joserfc 1.6.8

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run joserfc and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 2, 2026Published
  • Jul 20, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new joserfc CVEsYou are reading CVE-2026-49852. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More joserfc CVEs

Data last checked: Nov 22, 2026 18:26 UTC