Authentication Bypass by Spoofing in nginx-ui - #VU170635
Published: November 26, 2026
Vulnerability details
The vulnerability allows a remote user to impersonate an existing Nginx UI user, potentially gaining a full administrator session if that account has no second factor.
The vulnerability exists due to improper token and identity validation in the Casdoor login callback when it accepts signed tokens without checking their organization, audience, or type and treats a JWT-Standard display name as a username. A remote user can use a token from another Casdoor organization or a JWT-Standard token with a matching display name to impersonate a local account.