CVE-2026-42221: Nginx UI is a web user interface for the Nginx web server
CVE-2026-42221 is a high-severity flaw (CVSS 8.1) affecting nginx ui. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.3% (top 29%) |
| CISA exploited list | No |
| Weakness | CWE-306 |
| Published | 2026-05-04 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: fuchiuebusi-lab/nginx-ui-CVE-2026-42221-CVE-2026-42238- (0 stars)
- Write-up: github.com/0xJacky/nginx-ui/security/advisories/GHSA-h27v-ph7w-m9fp
- Nuclei scan template: Nginx UI <= 2.3.7 - Unauthenticated Installer Exposure
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42221?
nginx ui: upgrade to 2.3.8. Exact commands for each OS are on this page.
Is CVE-2026-42221 being exploited?
CVE-2026-42221 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42221 affect?
CVE-2026-42221 affects nginx ui. Severity is high (CVSS 8.1). 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 w
How urgent is CVE-2026-42221?
Priority 61/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-34403 HIGH 8.1 UPGRADE Nginx UI is a web user interface for the Nginx web server
- CVE-2026-42222 HIGH 8.1 DOWNGRADE Nginx UI is a web user interface for the Nginx web server
- CVE-2026-42220 MEDIUM 6.5 UPGRADE Nginx UI is a web user interface for the Nginx web server
- CVE-2026-42223 MEDIUM 6.5 UPGRADE Nginx UI is a web user interface for the Nginx web server
- CVE-2026-44015 HIGH 8.5 UPGRADE Nginx UI is a web user interface for the Nginx web server