CVE-2026-84312

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

Published Oct 12, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises because GetCasdoorUri sets a constant OAuth state value using the Casdoor application name, and the CasdoorCallback does not compare the received state with any value bound to the initiating browser session. An unauthenticated attacker can force 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 allows the attacker to obtain authenticated access to the affected Nginx UI system, effectively bypassing authentication (CWE‑287) and enabling CSRF‑style abuse (CWE‑352). The primary consequence is unauthorized access, potentially granting privileged functionality to the attacker.

Affected Systems

The vendor is 0xJacky and the product is Nginx UI. All releases prior to version 2.4.1 are affected; the issue is fixed in 2.4.1 and later.

Risk and Exploitability

The CVSS score of 7.1 indicates a medium‑high severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an unauthenticated attacker to trick a victim’s browser into invoking the Casdoor callback, so it relies on user interaction and the victim must be using a browser that can reach the affected Nginx UI instance. While remote exploitation is not possible without user participation, the risk of privilege escalation within the UI remains significant for systems that rely on Casdoor SSO for authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the 2.4.1 or newer release of nginx-ui to address the state verification flaw.
  • If an upgrade is not feasible immediately, temporarily disable Casdoor SSO integration until the patch is applied.
  • Monitor nginx-ui logs for unexpected session creations and review user activity for signs of unauthorized access.

Generated by OpenCVE AI on October 12, 2026 at 22:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-44xr-mrhh-qm78 Nginx UI: Casdoor SSO callback uses a constant `state` parameter (login CSRF)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui
Type Values Removed Values Added
Description 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.
Title Nginx UI: Casdoor SSO callback uses a constant `state` parameter (login CSRF)
Weaknesses CWE-287
CWE-352
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 11:36 AM
Reserved
Sep 1, 2026, 4:17 PM
Status
Deferred
Published
Oct 12, 2026, 10:17 PM
Modified
Oct 14, 2026, 12:17 PM