Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover (0xJacky nginx-ui)
At a glance
- Source
- NVD
- EPSS
- EPSS 35.27 % Β· percentile 98 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
Nginx UI is a web user interface for the Nginx web server. In versions 2.3.5 and prior, the nginx-ui MCP (Model Context Protocol) integration exposes two HTTP endpoints: /mcp and /mcp_message. While /mcp requires both IP whitelisting and authentication (AuthRequired() middleware), the /mcp_message endpoint only applies IP whitelisting - and the default IP whitelist is empty, which the middleware treats as "allow all". This means any network attacker can invoke all MCP tools without authentication, including restarting nginx, creating/modifying/deleting nginx configuration files, and triggering automatic config reloads - achieving complete nginx service takeover. At time of publication, there are no publicly available patches.
Weaknesses (CWE)
- CWE-306 β Missing Authentication for Critical Functionality
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | GitHub_M |
| 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) |
Advisories
- GHSA-h6c2-x2m2-mwhf β nginx-ui's Unauthenticated MCP Endpoint Allows Remote Nginx Takeover
- GO-2026-4904 β nginx-ui's Unauthenticated MCP Endpoint Allows Remote Nginx Takeover in github.com/0xJacky/Nginx-UI
European references
- ENISA EUVD Β· EUVD-2026-17158
- GCVE Β· GCVE-0-2026-33032
Affected configurations (NVD CPE)
cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*β€ 2.3.5
Affected products
| Product | Versions |
|---|---|
| 0xJacky Β· nginx-ui | affected <= 2.3.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |