Intel

AIKIDO-2026-959477

jwcrypto is vulnerable to Improper Verification of Cryptographic Signature

Improper Verification of Cryptographic SignatureCVE-2026-84185 Published 3 days ago

31

Low Risk

This Affects:

PYTHONjwcrypto
1.3 - 1.5.9
Fixed in 1.6.0
Are you affected? Scan for Free

TL;DR

jwcrypto verifies a JSON Web Signature against a JWKSet by looking up the signer's key using the kid header parameter. When a JWS carries multiple signatures, the verification path reads kid from the overall jose_header instead of each signature's own checked headers, so a signature that declares kid only in an unprotected header, or a non-first signature in a multi-signature JWS, can resolve against the wrong key from the set. This key-confusion is limited to specific and uncommon multi-signature or unprotected-header kid usage with a JWKSet. The fix reads kid from each signature's own checked headers before performing the key lookup.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you verify multi-signature JWS objects, or JWS signatures using an unprotected-header kid value, against a JWKSet.

Background info

jwcrypto is vulnerable to Improper Verification of Cryptographic Signature in versions 1.3 - 1.5.9.

How to fix this

Upgrade the jwcrypto library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform