patchminder
Weaponized · Nuclei CVE-2026-42221

Missing authenticationin 0xJacky Nginx UI.

Published 4 May 2026 · Updated 5 May 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
High 8.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.3% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.3.8 or later
In plain words

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.

What to do now
  • Upgrade nginx-ui to 2.3.8 or later.
  • Upgrade github.com/0xJacky/Nginx-UI (Go) to 2.3.8 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
nginx-ui
2.0.0 to before 2.3.8
2.3.8
CVE record
github.com/0xJacky/Nginx-UI (Go)
2.0.0 to before 2.3.8
2.3.8
GitHub advisory
github.com/0xJacky/Nginx-UI (Go)
all versions
Not confirmed
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 25 Apr 2026
    CVE ID reserved by GitHub_M.
  2. 4 May 2026
    Published in the CVE List.
  3. 5 May 2026
    CVE record last updated.
  4. 23 Jun 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundfuchiuebusi-lab/nginx-ui-CVE-2026-42221-CVE-2026-42238-0 stars · created 23 Jun 2026

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.

Related

Other Nginx UI vulnerabilities

Same weakness: Missing authentication for critical function

All CWE-306 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-42221: Missing authentication in 0xJacky Nginx UI. https://patchminder.com/cve/cve-2026-42221/ (accessed 5 December 2026).