Improper Authentication in lua-resty-jwt - #VU163200
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to bypass authentication using forged tokens.
The vulnerability exists due to lua-resty-jwt accepting public key PEM text as a PBES2 password when applications use that key to verify asymmetrically signed JWTs and receive an attacker-supplied JWE. An unauthenticated remote attacker can encrypt a JWE using the known public key text and have attacker-chosen claims accepted as authenticated.