Improper validation of integrity check value in lua-resty-jwt - #VU163205
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to forge encrypted tokens accepted as verified by lua-resty-jwt.
The vulnerability exists due to missing authentication tag length validation when processing JWE tokens using AES-GCM content encryption or key wrapping. An unauthenticated remote attacker with an observed token and correctly guessed plaintext can modify its ciphertext and brute-force a one-byte tag in about 256 attempts on average to produce an accepted forgery.