CVE-2026-42221 in Nginxui Nginx Ui
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, ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nginxui | Nginx Ui | ≥ 2.0.0, < 2.3.8 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-42221 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-152732-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-05-04 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-306: Missing Authentication for Critical Function
Software does not perform any authentication for functionality that requires a verified identity.
Related attack patterns (CAPEC)
CAPEC-12 Choosing Message Identifier via CWE-306
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-306
CAPEC-62 Cross Site Request Forgery via CWE-306
CAPEC-166 Force the System to Reset Values via CWE-306
CAPEC-216 Communication Channel Manipulation via CWE-306
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An unauthenticated attacker can claim the initial administrator account on a fresh Nginx UI instance during the first-run setup window due to an unprotected /api/install endpoint.
The vulnerability lies in the /api/install endpoint, which is publicly accessible without requiring any authentication. This allows an attacker to intercept and manipulate the setup process to gain administrative access.
Questions
What is CVE-2026-42221?
An unauthenticated attacker can claim the initial administrator account on a fresh Nginx UI instance during the first-run setup window due to an unprotected /api/install endpoint.
What is the CVSS score for CVE-2026-42221?
CVE-2026-42221 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.6%.
Is CVE-2026-42221 actively exploited?
No confirmed active exploitation of CVE-2026-42221 as of 2026-11-03.
How do I remediate CVE-2026-42221?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2026-42221?
CVE-2026-42221 affects Nginxui Nginx Ui.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Nginxui","product":"Nginx Ui","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.