Home / 0xJacky / nginx-ui / CVE-2026-42221
CVE-2026-42221: is it exploited, and which versions of 0xJacky nginx-ui are affected and fixed?
CVE-2026-42221 is a missing authentication for a critical function vulnerability in 0xJacky nginx-ui. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: github.com/0xJacky/Nginx-UI from 2.0.0 before 2.3.8 (GitHub advisory GHSA-h27v-ph7w-m9fp). Fixed in 2.3.8 (GitHub advisory GHSA-h27v-ph7w-m9fp). Severity: High (8.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42221?
nginx-ui: Unauthenticated First-Run Installer Allows Remote Initial Admin Claim
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.
From the CVE record by GitHub_M, last updated May 5, 2026, 14:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 0xJacky | nginx-ui | >= 2.0.0, < 2.3.8 |
As the CVE record by GitHub_M states it, last updated May 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/0xJacky/Nginx-UI | >= 2.0.0, < 2.3.8 | 2.3.8 | GHSA-h27v-ph7w-m9fp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 6, 2026. Summary: Nginx-UI: Unauthenticated First-Run Installer Allows Remote Initial Admin Claim.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nginxui | nginx ui | from 2.0.0 before 2.3.8 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 19:10 UTC.
How severe is CVE-2026-42221?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42221 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, May 5, 2026)
- EPSS
- 1.34% probability of exploitation activity in the next 30 days, percentile 72.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-306 Missing Authentication for Critical Functionality
Where are the vendor advisories and references?
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h27v-ph7w-m9fp x_refsource_CONFIRM
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 25, 2026
- Published
- May 4, 2026, 20:09 UTC
- CVE record updated
- May 5, 2026, 14:14 UTC by GitHub_M
- NVD
- Analyzed, last modified October 26, 2026, 19:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nginx-ui?
- Oct 12, 2026CVE-2026-84312 0xJacky nginx-ui: authentication bypass (improper authentication)
- Oct 12, 2026CVE-2026-84360 0xJacky nginx-ui: authentication bypass through another path
- Oct 12, 2026CVE-2026-84316 0xJacky nginx-ui: improper input validation
- Oct 12, 2026CVE-2026-84319 0xJacky nginx-ui: protection mechanism failure
- Oct 12, 2026CVE-2026-84317 0xJacky nginx-ui: improper input validation
- Oct 12, 2026CVE-2026-84313 0xJacky nginx-ui: authentication bypass (improper authentication)
- Oct 12, 2026CVE-2026-84321 0xJacky nginx-ui: session does not expire
- Oct 12, 2026CVE-2026-84314 0xJacky nginx-ui: improper authorization
Questions about CVE-2026-42221
Is CVE-2026-42221 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.34% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of 0xJacky nginx-ui are affected by CVE-2026-42221?
github.com/0xJacky/Nginx-UI from 2.0.0 before 2.3.8, per the GitHub advisory GHSA-h27v-ph7w-m9fp. The tables above give every range the sources list.
Which version fixes CVE-2026-42221?
2.3.8, per the GitHub advisory GHSA-h27v-ph7w-m9fp. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42221?
High (8.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42221?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.