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.
Published: 2026-10-12
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Access
Action: Immediate Patch
AI Analysis

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.

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

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

Wed, 14 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 12 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui

Mon, 12 Oct 2026 21:30:00 +0000

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'}


Subscriptions

0xjacky Nginx-ui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-14T11:36:49.978Z

Reserved: 2026-09-01T16:17:43.079Z

Link: CVE-2026-84312

cve-icon Vulnrichment

Updated: 2026-10-14T11:36:23.007Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T22:17:05.263

Modified: 2026-10-14T12:17:18.203

Link: CVE-2026-84312

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T23:00:08Z

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-352

    Cross-Site Request Forgery (CSRF)