Missing authenticationin 0xJacky Nginx UI.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade nginx-ui to 2.3.8 or later.
- Upgrade github.com/0xJacky/Nginx-UI (Go) to 2.3.8 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 25 Apr 2026CVE ID reserved by GitHub_M.
- 4 May 2026Published in the CVE List.
- 5 May 2026CVE record last updated.
- 23 Jun 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Nginx UI vulnerabilities
Same weakness: Missing authentication for critical function
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2026-42221: Missing authentication in 0xJacky Nginx UI. https://patchminder.com/cve/cve-2026-42221/ (accessed 5 December 2026).