Cve 2026 33032 Exploitation Allows Full Control Over Nginx Server
The nginx-ui management tool left its MCP message endpoint without an authentication check, so anyone who could reach it could invoke management tools. An attacker could then create or modify nginx configuration files, reload or restart the service, and proxy traffic to steal credentials and session tokens.
Click here to read this story for free
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the route for the message endpoint was registered without the authentication middleware that the stream endpoint used, and the only remaining guard, an IP whitelist, fails open when the list is empty, which is the default.
Impact
An attacker could take full control of the nginx service, proxy traffic to steal credentials and session tokens, and disrupt service by writing invalid configuration; the text says active exploitation has been confirmed in the wild.
What the attacker needed
Network access to the nginx-ui instance; MCP feature enabled; IP whitelist left empty (default)
The fix
The missing authentication check was added to the message endpoint in version 2.3.4, and users who cannot update should disable MCP or populate the IP whitelist.
How it was found
- Open a persistent event stream by requesting the stream endpoint, which returns a session identifier.
- Send commands to the message endpoint using that session identifier.
- Invoke management tools such as creating or modifying configuration files, or reloading and restarting nginx.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
nginx-ui is a web page for managing an nginx web server, which is software that serves websites. One of its endpoints, a URL that accepts commands, was missing the login check that its sibling endpoint had, so a stranger could send commands without logging in. Those commands let the stranger rewrite the server's settings and restart it.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.