Description
Nginx UI is a web user interface for the Nginx web server. From 2.0.0 until 2.5.0, AuthRequired accepts a browser-managed token cookie as an API credential after the front end stores the JWT in that cookie. Because management endpoints do not universally require a CSRF token or perform Origin or Referer validation, a remote attacker can induce a logged-in administrator's browser to submit authenticated cross-site state-changing requests, including POST /api/configs. The attack requires an administrator account without OTP/Passkey or a target endpoint that does not require secure-session proof. The attacker cannot read the cross-origin response but can modify Nginx configuration, trigger reloads, or invoke other management operations reachable with the victim's session. This issue is fixed in version 2.5.0.
Published: 2026-10-09
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized configuration changes
Action: Patch Immediately
AI Analysis

Impact

Nginx-UI from version 2.0.0 up to 2.5.0 accepted a browser‑managed token cookie as an API credential after storing the JWT in that cookie. The management endpoints did not enforce a CSRF token or validate Origin or Referer headers. Consequently, a remote attacker can craft a site that forces a logged‑in administrator’s browser to submit authenticated cross‑site state‑changing requests such as POST /api/configs. The attacker cannot read the cross‑origin response but can modify Nginx configuration, trigger reloads, or invoke other privileged operations that execute under the victim’s session. The flaw is a classic CSRF vulnerability (CWE‑352) that grants unauthorized configuration control.

Affected Systems

The affected product is Nginx‑UI (0xJacky) with versions starting at 2.0.0 and ending at 2.5.0, inclusive. Version 2.5.0 includes the fix that removes the token cookie fallback for AuthRequired.

Risk and Exploitability

With a CVSS score of 8.8 the vulnerability is considered high severity. The EPSS score is not available and the issue is not listed in the CISA KEV catalog, but the attack requires only a remote address and an administrative account that lacks OTP or Passkey authentication. The exploitation potential is significant for environments where administrators do not use multi‑factor authentication, as an attacker can modify critical server configuration without detection. The remote nature of the attack and the lack of defensive checks make it relatively easy to exploit in practice.

Generated by OpenCVE AI on October 9, 2026 at 16:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nginx‑UI to version 2.5.0 or later to eliminate the vulnerable token cookie fallback.
  • Configure all management API endpoints to require a CSRF token and validate Origin or Referer headers to mitigate future CSRF attacks.
  • Enable multi‑factor authentication for all administrator accounts to reduce the risk of credential compromise.

Generated by OpenCVE AI on October 9, 2026 at 16:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-33rr-wq23-g6gg Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs
History

Tue, 20 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Nginxui
Nginxui nginx Ui
CPEs cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*
Vendors & Products Nginxui
Nginxui nginx Ui

Fri, 09 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 09 Oct 2026 16:45:00 +0000

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

Fri, 09 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description Nginx UI is a web user interface for the Nginx web server. From 2.0.0 until 2.5.0, AuthRequired accepts a browser-managed token cookie as an API credential after the front end stores the JWT in that cookie. Because management endpoints do not universally require a CSRF token or perform Origin or Referer validation, a remote attacker can induce a logged-in administrator's browser to submit authenticated cross-site state-changing requests, including POST /api/configs. The attack requires an administrator account without OTP/Passkey or a target endpoint that does not require secure-session proof. The attacker cannot read the cross-origin response but can modify Nginx configuration, trigger reloads, or invoke other management operations reachable with the victim's session. This issue is fixed in version 2.5.0.
Title Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs
Weaknesses CWE-352
References
Metrics cvssV3_1

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


Subscriptions

0xjacky Nginx-ui
Nginxui Nginx Ui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-09T16:45:22.243Z

Reserved: 2026-10-08T21:23:59.821Z

Link: CVE-2026-107809

cve-icon Vulnrichment

Updated: 2026-10-09T16:16:14.592Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-09T16:17:25.387

Modified: 2026-10-20T15:15:58.807

Link: CVE-2026-107809

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T16:30:09Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)