Type Confusion in JWT lib in rust - #VU166264

 

Type Confusion in JWT lib in rust - #VU166264

Published: November 16, 2026


Vulnerability identifier: #VU166264
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-843
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass configured audience, issuer, or subject restrictions on signed tokens.

The vulnerability exists due to type confusion in jsonwebtoken claim validation when wrong-typed aud, iss, or sub claims enter the FailedToParse state and their configured checks are skipped. A remote attacker can submit a validly signed token containing a numeric aud, iss, or sub claim not listed in required_spec_claims to bypass the corresponding restriction, potentially accessing another service that trusts the same signing key.


Affected software

JWT lib in rust

Remediation

Install security update from vendor's website.

JWT lib in rust - update to 11.1.0

External References

Related Security Bulletins