Observable discrepancy in lua-resty-jwt - #VU163203
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to recover plaintext from encrypted JWE tokens through a padding/decryption oracle.
The vulnerability exists due to lua-resty-jwt decrypting AES-CBC-HMAC ciphertext and validating claims before checking the authentication tag. An unauthenticated remote attacker can submit modified tokens to an application that exposes validation failure reasons and use distinguishable errors to infer encrypted token contents.