Skip to main content

Nginx UI EUVDEUVD-2026-27135

| CVE-2026-42221 CRITICAL
Missing Authentication for Critical Function (CWE-306)
2026-05-04 GitHub_M GHSA-h27v-ph7w-m9fp
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach fresh nginx-ui over network
  2. Delivery
    Fetch public RSA key from /api/crypto/public_key
  3. Exploit
    Encrypt attacker admin credentials
  4. Execution
    POST /api/install before operator
  5. Persist
    Overwrite privileged user ID 1
  6. Impact
    Full admin takeover of Nginx management

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a fresh, uninitialized nginx-ui instance that is network-reachable during its first-run setup window - specifically, per the advisory, the instance must still be treated as uninstalled (JwtSecret empty and SkipInstallation false) and the request must arrive before installation completes and within the ~10-minute startup window checked by api/system/install.go. No authentication, user interaction, or special configuration is needed because /api/install and /api/crypto/public_key are mounted without AuthRequired(); the request-encryption flow only protects payload confidentiality, not authorization. Limiting factors that reduce real-world risk: once an operator completes setup (lock flips to true) OR the ~10-minute window elapses (timeout), the endpoint rejects further installs, so already-provisioned instances are NOT exposed - the window is the single most important mitigating condition, and it also explains SSVC Automatable:no and the low EPSS.

Impact

The signals are consistent on technical severity but mixed on real-world urgency. CVSS 3.1 is 9.8 (AV:N/AC:L/PR:N/UI:N, PR:N = unauthenticated, C:H/I:H/A:H) and SSVC rates Technical Impact as 'total', matching the advisory's claim of permanent initial-admin takeover of a Nginx management interface. However, SSVC Automatable:no and the narrow exploitation state (only a fresh, uninitialized instance within the first-run window) mean this is not a spray-and-pray mass-exploitation bug - it requires reaching a specific instance during a specific lifecycle moment. EPSS is very low at 0.08% (24th percentile), which is congruent with Automatable:no and the absence of any KEV listing: no confirmed active exploitation, and opportunistic internet-wide exploitation is constrained by the window. The vuln.today Decision label is nonetheless 'act_now', driven by the critical impact plus the existence of a detailed public advisory with reproduction steps; treat this as act-now for any operator who is deploying or re-deploying nginx-ui now, since the exposure is concentrated at install time. SSVC Exploitation is 'poc'; the input classifies the PoC as a reference not verified as working exploit code, though the GHSA advisory itself contains a step-by-step reproduction and a verification script. Net: a genuine critical priority at the moment of deployment, but the low EPSS correctly reflects that already-installed instances are not exposed and that broad untargeted exploitation is unlikely.

Exploit ScenarioDerived

A defender stands up a fresh nginx-ui instance (2.0.0 to before 2.3.8) reachable on the network and steps away before completing first-run setup. A remote attacker fetches GET /api/install, sees lock=false, obtains the server RSA key via POST /api/crypto/public_key, and submits an encrypted POST /api/install setting their own admin email, username, and password - seizing user ID 1 before the operator. A public PoC reference exists; it is not verified as working exploit code, but the advisory documents the full manual HTTP sequence and a verification script.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 26, 2026

Unauthenticated attackers who can reach a fresh, uninitialized Nginx UI instance before version 2.3.8 during its first-run setup window can set the initial administrator credentials and permanently take over the application. Despite the 9.8 severity and an act_now priority, exploitation requires the instance to still be uninstalled and the request to arrive within the roughly 10-minute startup window; already-provisioned instances and installations past that window reject the request, which keeps real-world exposure narrow. The issue is patched in 2.3.8; a public PoC reference exists but is not verified as working exploit code, and EPSS is low at 0.08% (24th percentile).

Earlier versions of this analysis (1)
v1 May 04, 2026 - 21:00 CVSS 8.1

Unauthenticated attackers can hijack the administrator account during nginx-ui's first-run installation window by claiming the /api/install endpoint before legitimate operators. This race-condition vulnerability in nginx-ui versions 2.0.0 through 2.3.7 bypasses authentication controls entirely, allowing complete instance takeover with attacker-controlled credentials. The request-encryption mechanism protects only transit confidentiality, not authorization. Attack complexity is rated HIGH due to the narrow time window between deployment and legitimate setup completion. EPSS data unavailable; no CISA KEV listing or public POC identified at time of analysis, but exploitation requires only standard HTTP tools and timing.

RemediationAI

Vendor-released patch: Nginx UI 2.3.8. Upgrade to 2.3.8 using https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.8, and consult https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h27v-ph7w-m9fp. If a fresh instance cannot be upgraded immediately, do not expose it to untrusted networks during first-run setup; restrict access to loopback or a trusted management network until initialization completes, recognizing that this makes remote setup unavailable. Complete initial setup promptly because the endpoint rejects further installs once lock is true or the roughly 10-minute window expires, but that race-window reduction is not a complete fix. The advisory also calls for a single-use bootstrap secret printed only to the server console or written to a root-owned local file, loopback-only installation by default with explicit opt-in for remote setup, and an atomic persisted installation state; these are design changes, and updating to 2.3.8 is the complete vendor fix.

Affected VersionsENISA

nginx-ui 2.0.0, < 2.3.8

Affected Packages

go github.com/0xjacky/nginx-ui fix: 2.3.8
euvd nginx_ui_2_0_0 fix: 2.3.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nginx UI is a Go-based web administration front end for Nginx. The flaw is CWE-306, missing authentication for a critical function: router/routers.go mounts system.InitPublicRouter under /api, and api/system/router.go registers GET and POST /api/install without AuthRequired(), while /api/crypto/public_key is likewise public. api/system/install.go treats the instance as uninstalled when JwtSecret is empty and SkipInstallation is false and only rejects install requests after installation has completed or the roughly 10-minute startup window has expired. On a successful unauthenticated POST, the handler derives and stores the JWT secret, node secret, and certificate e-mail from attacker input and overwrites privileged user ID 1 with the attacker-chosen username and password hash; the request-encryption middleware decrypts encrypted_params but performs no authorization, caller-trust, or bootstrap-secret check. The CPE cpe:2.3:a:0xjacky:nginx-ui:*:*:*:*:*:*:*:* anchors the affected Go package.

Know when Nginx Ui gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Remote unauthenticated POST to a public endpoint with no user interaction (AV:N/AC:L/PR:N/UI:N); claiming admin ID 1 yields full confidentiality, integrity, and availability control of the Nginx management app (C:H/I:H/A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE CRITICAL

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Oct 26, 2026 - 19:32 vuln.today
v2 - CVSS changed
Severity Changed
Oct 26, 2026 - 19:23 NVD
HIGH CRITICAL
CVSS changed
Oct 26, 2026 - 19:23 NVD
8.1 (HIGH) 9.8 (CRITICAL)
Patch available
May 04, 2026 - 22:17 EUVD

DescriptionNVD

Nginx UI is a web user interface for the Nginx web server. From version 2.0.0 to before version 2.3.8, an unauthenticated network attacker can claim the initial administrator account on a fresh nginx-ui instance during the first-run setup window. The public /api/install endpoint is reachable without authentication, and the request-encryption flow only protects payload confidentiality in transit; it does not authenticate who is allowed to perform installation. A remote attacker who reaches the service before the legitimate operator can set the admin email, username, and password, causing permanent initial-instance takeover. This issue has been patched in version 2.3.8.

Executive ViewAI

Why It Matters

CVE-2026-42221 is a critical authentication bypass in Nginx UI versions before 2.3.8 that allows an unauthenticated attacker to seize administrative control of a freshly deployed instance during its brief first-run setup window. The exposure is narrow: only instances that have not yet been initialized and are reachable within roughly 10 minutes of first start are vulnerable, and no confirmed active exploitation has been observed. Leadership should care because a successful takeover grants full control of the Nginx management plane, which could lead to service disruption or data compromise, but the risk is largely confined to current and near-term deployment rollouts rather than the existing production fleet.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 76% exploitable
Prevalence
Medium
popular open-source self-hosted Nginx management UI, moderate deployment footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA POC (1) Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2024-49368 HIGH POC
8.9 Oct 21

Nginx UI is a web user interface for the Nginx web server. Rated high severity (CVSS 8.9), this vulnerability is remotel

CVE-2026-27944 CRITICAL POC
9.8 Mar 05

Unauthenticated backup download and RCE in Nginx UI before 2.3.3. EPSS 1.0%. PoC available.

CVE-2024-49366 HIGH POC
7.7 Oct 21

Nginx UI is a web user interface for the Nginx web server. Rated high severity (CVSS 7.7), this vulnerability is remotel

CVE-2026-42223 MEDIUM POC
6.5 May 04

nginx-ui versions prior to 2.3.8 expose 40+ protected configuration fields through the GetSettings API to authenticated

CVE-2026-42220 MEDIUM POC
6.5 May 04

nginx-ui prior to version 2.3.8 exposes sensitive configuration values including node.secret via an authenticated GET /a

CVE-2026-44015 CRITICAL
9.9 May 12

Server-side request forgery in Nginx UI through 2.3.4 lets any authenticated user redirect API requests to an attacker-c

CVE-2026-42222 CRITICAL
9.8 May 04

Unauthenticated bootstrap takeover in Nginx UI 2.3.5: any remote client that can reach a still-uninitialized instance du

CVE-2024-23827 CRITICAL
9.8 Jan 29

Nginx-UI is a web interface to manage Nginx configurations. Rated critical severity (CVSS 9.8), this vulnerability is re

CVE-2026-107806 CRITICAL
9.4 Oct 09

Authenticated administrators of Nginx UI releases 2.3.8 through 2.4.x can achieve remote code execution on the host by a

CVE-2026-42238 CRITICAL
9.0 May 04

Remote code execution as root in nginx-ui versions before 2.3.8 via unauthenticated backup restore within 10-minute star

CVE-2026-84318 HIGH
8.8 Oct 12

Configuration-validation bypass in Nginx UI (versions 2.0.0-rc.6 through 2.4.0) lets an authenticated low-privilege user

CVE-2026-84313 HIGH
8.8 Oct 12

Nginx UI installations before 2.4.1 expose two account-security endpoints, POST /api/otp_enroll and POST /api/finish_pas

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy