All vulnerabilities

Servers and applications

GHSA-r7jh-46x8-grj8

Nginx-UI: Authenticated RCE via Backup Restore Leads to Root Shell

Severity
High 8.8
Published
12 Aug 2026
Last changed
12 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.5.0
Weakness
Execution with unnecessary privileges (CWE-250)Improper verification of a cryptographic signature (CWE-347)Mass assignment (CWE-915)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

A chain of five design flaws in Nginx-UI v2.3.8 allows an attacker with a valid session — including a compromised account, phished credential, or malicious insider — to achieve full remote code execution as root. No administrator interaction is required beyond the attacker's own session.

The attack works as follows: the backup manifest signature scheme is cryptographically circular — it derives the verification key from the same user-supplied AES key that the attacker controls, making integrity verification meaningless. This allows the attacker to upload a crafted backup bundle that overwrites app.ini with arbitrary configuration. The injected config plants a known NodeSettings.Secret value and sets terminal.StartCmd = bash.

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