All vulnerabilities

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.

From 0xJacky/nginx-ui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Nginx UIServers and applications · github:0xjacky/nginx-ui
  • From 2.0.0 before 2.5.0

About Nginx UI

Yet another WebUI for Nginx

From its GitHub repository.
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

References