Security mailing lists by PureSourceCode

CVE-2026-42221

CRITICAL 9.8CVSS 3.1

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.

Published
4 May 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-306
Also known as
GHSA-h27v-ph7w-m9fpGO-2026-5412
Sources
NVDJSONOSV GHSA-h27v-ph7w-m9fpJSONOSV GO-2026-5412JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.3.8 2.3.8
OSV Go github.com/0xJacky/Nginx-UI >= 2.0.0, < 2.3.8 2.3.8
OSV Go github.com/0xJacky/Nginx-UI all versions

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.