Servers and applications
GHSA-w8p3-r29g-jg3p
Static node secret grants full unauthenticated admin (user creation + terminal RCE) — still present in 2.4.2
- Severity
- High
- Published
- 29 Jul 2026
- Last changed
- 29 Jul 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 2.5.0
- Sources
- Project advisories (GitHub)
Description
AuthRequired() accepts the instance node secret (settings.NodeSettings.Secret, i.e. app.ini [node] Secret) presented in the X-Node-Secret request header or the node_secret query parameter, and, when it matches, executes the request as the initial administrator (user id 1) with no login, JWT, or session.
Because this check lives in the generic AuthRequired() middleware that guards the whole authenticated API, a caller holding the node secret gains full admin over every protected endpoint — including POST /api/users (create a new admin) and the built‑in web terminal ([terminal] StartCmd, default /bin/bash), i.e. remote code execution as the nginx-ui process user (root in the official Docker image).
The node secret is a static value that is never rotated — not on upgrade, not on container recreation, not on host reinstall (it is restored from app.ini/backups). It has been disclosed by multiple prior advisories (e.g.
Affected software
| Software | Affected versions |
|---|---|
Nginx UIServers and applications · github:0xjacky/nginx-ui |
|
About Nginx UI
Yet another WebUI for Nginx
- Docker Hub pulls
- 1,512,532Docker Hub, 15 Nov 2026
- GitHub stars
- 11,783GitHub, 15 Nov 2026
- Forks
- 921GitHub, 15 Nov 2026
- Latest release
- v3.0.3GitHub, 15 Nov 2026
- Released
- 12 Nov 2026GitHub
- License
- AGPL-3.0GitHub
- First published on GitHub
- 19 Feb 2021GitHub
Source code Website Docker image
Vulnerabilities in Nginx UI
- In our list
- 75
- Published in the last 12 months
- 67
- Critical, last 12 months
- 11
- High, last 12 months
- 34
- Known exploited
- 0
- GHSA-57f3-39rr-2mwmNginx-UI certificate path validators read arbitrary absolute paths, enabling a file existence oracle and process-crash DoSLow 3.8 20 Nov 2026
- GHSA-c2cq-7453-7xpjRead-only service tokens still receive stored secrets (incomplete fix of GHSA-pw4f-pq6v-x57r)Medium 6.5 20 Nov 2026
- GHSA-xwxf-xc5j-p7hxDirective denylist bypass via mid-token '#' tokenizer differential (incomplete fix of GHSA-cf23-7qxj-xmhr)High 7.2 20 Nov 2026
- GHSA-2rjr-44wx-8qpgJwtSecret Overwrite via Settings API Causes Session Invalidation and MonopolyLow 3.8 12 Nov 2026
- GHSA-p355-qjwh-8hgmOpenAI API Key Exfiltration via Unprotected BaseUrl Setting ChangeLow 2.7 12 Nov 2026
- GHSA-hf3h-p3fr-3f2rFull backup exports expose reusable interactive login sessions to management credentialsMedium 6.6 12 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-w8p3-r29g-jg3p
- github.com https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-w8p3-r29g-jg3p