CVE-2026-42221
Last modified
CVE-2026-42221 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nginxui | Nginx Ui | >= 2.0.0, < 2.3.8 |
References
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h27v-ph7w-m9fpExploit, Mitigation, Vendor Advisory
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h27v-ph7w-m9fpExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42221?
How severe is CVE-2026-42221?
How do I fix CVE-2026-42221?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42216OpenEXR provides the specification and reference implementat…9.1
- CVE-2026-42217OpenEXR provides the specification and reference implementat…9.8
- CVE-2026-42218xrdp is an open source RDP server. Versions 0.10.6 and prior…5.3
- CVE-2026-42219Frappe is a full-stack web application framework. Prior to 1…6.9
- CVE-2026-4222A vulnerability was determined in SSCMS up to 7.4.0. This vu…3.8
- CVE-2026-42220Nginx UI is a web user interface for the Nginx web server. P…6.5
- CVE-2026-42222Nginx UI is a web user interface for the Nginx web server. I…9.8
- CVE-2026-42223Nginx UI is a web user interface for the Nginx web server. P…6.5
- CVE-2026-42224ipl/web is a set of common web components for php projects. …7.6
- CVE-2026-42225PJSIP is a free and open source multimedia communication lib…5.9
- CVE-2026-42226n8n is an open source workflow automation platform. Prior to…7.5
- CVE-2026-42227n8n is an open source workflow automation platform. Prior to…6.5
Are you affected by CVE-2026-42221?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
