CVE-2026-42221

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.

Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
1.342%
chance of exploitation in the next 30 days
higher than 71.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 1

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impacttotal
Scored2026-05-05

Timeline

  1. 2026-05-04Published by the CNA20:09 UTC
  2. 2026-05-05CISA SSVC decision recorded1 day after publication
  3. 2026-05-06GitHub advisory published (GHSA-h27v-ph7w-m9fp)2 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

GitHub advisory GHSA-h27v-ph7w-m9fp, affected packages:

PackageVulnerable versionsFixed in
Go github.com/0xJacky/Nginx-UIfrom 2.0.0 before 2.3.82.3.8

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
nginxui nginx_uifrom 2.0.0 before 2.3.8fixed in 2.3.82.3.8

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources