Input validation error in lua-resty-jwt - #VU163199
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to bypass token revocation, replay prevention, or rate limits in applications that identify tokens by their raw string or its hash.
The vulnerability exists due to lenient compact-serialization parsing in lua-resty-jwt that accepts noncanonical segment structures and encodings during verification. An unauthenticated remote attacker can re-encode a previously valid token into a different string that still verifies, evading checks for revoked or already-used tokens.