Intel

AIKIDO-2025-10595

joserfc is vulnerable to Improper Verification of Cryptographic Signature

Improper Verification of Cryptographic Signature Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 1, 2025

20

Low Risk

This Affects:

Pythonjoserfc
1.2.0 - 1.3.0
Fixed in 1.3.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to improper serialization of token headers due to allowing unprotected headers to overwrite integrity-protected headers. An attacker with access to the JWS JSON object can exploit this by injecting malicious values into unprotected headers (e.g., modifying key to point to a malicious key, or altering exp to extend token validity), bypassing signature validation for critical parameters and potentially leading to authentication bypass or privilege escalation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

joserfc is vulnerable to Improper Verification of Cryptographic Signature in versions 1.2.0 - 1.3.0.

How to fix this

Upgrade the joserfc library to the patch version.