Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/0xJacky/Nginx-UI
  4. ›
  5. CVE-2026-42221

CVE-2026-42221: Nginx-UI: Unauthenticated First-Run Installer Allows Remote Initial Admin Claim

May 6, 2026

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.

References

  • github.com/0xJacky/nginx-ui/releases/tag/v2.3.8
  • github.com/0xJacky/nginx-ui/security/advisories/GHSA-h27v-ph7w-m9fp
  • github.com/advisories/GHSA-h27v-ph7w-m9fp
  • nvd.nist.gov/vuln/detail/CVE-2026-42221

Code Behaviors & Features

Detect and mitigate CVE-2026-42221 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.3.8

Fixed versions

  • 2.3.8

Solution

Upgrade to version 2.3.8 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function

Source file

go/github.com/0xJacky/Nginx-UI/CVE-2026-42221.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:09 +0000.