CVE-2026-84312: Nginx UI: Casdoor SSO callback uses a constant `state` parameter (login CSRF)

Published Oct 12, 2026
·
Updated

Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, GetCasdoorUri uses the configured Casdoor application name as a constant OAuth state value and CasdoorCallback does not compare the submitted state with a value bound to the initiating browser session. An unauthenticated attacker can cause a victim's browser to complete an attacker-controlled Casdoor authorization flow, and the callback can mint a Nginx UI session for the identity returned by that authorization code. This issue is fixed in version 2.4.1.

Affected Software

1 affected component
0xJacky Nginx UI<2.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Nginx UI to a version that resolves this vulnerability.

    Fixed in 2.4.1

Event History

Oct 12, 2026
CVE Published
via MITRE·09:16 PM
Data Sourced
via MITRE·09:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Nginx UI versions prior to 2.4.1 are affected when Casdoor SSO is configured and used. The issue is in the Casdoor OAuth callback flow.

2

What does an attacker need to exploit this?

An attacker does not need to authenticate to Nginx UI. They need to cause a victim to complete an attacker-controlled Casdoor authorization flow, such as by getting the victim's browser to follow the flow.

3

What is the practical impact on a victim?

The callback can create a Nginx UI session in the victim's browser for the identity returned by the attacker-controlled authorization code. This can result in the victim being logged into the wrong account.

4

How can this be remediated?

Upgrade Nginx UI to version 2.4.1, which fixes the constant OAuth state handling and validates state against the initiating browser session.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203