CVE Catalog

CVE-2026-84316

HighCVSS 8.8
Published: Translated: NVD NIST

Summary

Nginx UI prior to 2.4.1, config.ValidateConfigDirectives splits configuration by newline and checks only the first directive token on each line even though Nginx permits multiple semicolon-separated directives on one line. An authenticated caller can place a benign directive first and a restricted load_module, js_import, perl, or user root directive later on the same line, or can use an unrestricted include directive to load restricted content. These mechanisms bypass validation on REST, nginx_config_modify, site, and stream write paths; when an executable module is available, the injected configuration can execute code in the Nginx worker context. This issue is fixed in version 2.4.1.

Risk Assessment

An attacker can bypass configuration validation and inject dangerous directives, potentially leading to code execution in the Nginx worker context and server security compromise.

Recommendation

It is recommended to upgrade Nginx UI to version 2.4.1 or later and strengthen configuration validation to check all directives on each line.

Other vulnerabilities in Nginx UI

See all
Original NVD description (English source)

Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, config.ValidateConfigDirectives splits configuration by newline and checks only the first directive token on each line even though Nginx permits multiple semicolon-separated directives on one line. An authenticated caller can place a benign directive first and a restricted load_module, js_import, perl, or user root directive later on the same line, or can use an unrestricted include directive to load restricted content. These mechanisms bypass validation on REST, nginx_config_modify, site, and stream write paths; when an executable module is available, the injected configuration can execute code in the Nginx worker context. This issue is fixed in version 2.4.1.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS