CVE-2026-42221

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*

History

26 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Nginx UI es una interfaz de usuario web para el servidor web Nginx. Desde la versión 2.0.0 hasta antes de la versión 2.3.8, un atacante de red no autenticado puede reclamar la cuenta de administrador inicial en una instancia nueva de nginx-ui durante la ventana de configuración de la primera ejecución. El endpoint público /api/install es accesible sin autenticación, y el flujo de cifrado de solicitudes solo protege la confidencialidad de la carga útil en tránsito; no autentica quién está autorizado para realizar la instalación. Un atacante remoto que accede al servicio antes que el operador legítimo puede establecer el correo electrónico, nombre de usuario y contraseña del administrador, causando una toma de control permanente de la instancia inicial. Este problema ha sido parcheado en la versión 2.3.8.

Information

Published : 2026-05-04 21:16

Updated : 2026-10-26 19:10


NVD link : CVE-2026-42221

Mitre link : CVE-2026-42221

CVE.ORG link : CVE-2026-42221


JSON object : View

Products Affected

nginxui

  • nginx_ui
CWE
CWE-306

Missing Authentication for Critical Function