All vulnerabilities

Servers and applications

CVE-2026-33028

Race Condition Leads to Persistent Data Corruption and Service Collapse

Severity
High 7.1
Published
28 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.30.0, 2.3.4
Exploit chance
0.6% in the next 30 daysHigher than 47% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Race condition (CWE-362)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read some data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-m468-xcm6-fxg4
Sources
NVD, Project advisories (GitHub)

Description

The nginx-ui application is vulnerable to a Race Condition. Due to the complete absence of synchronization mechanisms (Mutex) and non-atomic file writes, concurrent requests lead to the severe corruption of the primary configuration file (app.ini). This vulnerability results in a persistent Denial of Service (DoS) and introduces a non-deterministic path for Remote Code Execution (RCE) through configuration cross-contamination.

The vulnerability exists because the settings update pipeline does not implement any synchronization primitives. When multiple requests reach the handler simultaneously:

  • Memory Corruption: ProtectedFill() modifies shared global singleton pointers without thread-safety, leading to inconsistent states in memory.
  • File Corruption: The underlying library (gopkg.in/ini.v1) performs direct overwrites.
From 0xJacky/nginx-ui's security advisory. Shortened; the full text is there.

Workarounds

  • Implement Mutex Locking: Wrap the ProtectedFill and settings.Save() calls in a sync.Mutex to serialize access to global settings.
  • Atomic File Writes: Implement a "write-then-rename" strategy. Write the new configuration to app.ini.tmp and use os.Rename() to replace the original file atomically, ensuring the configuration file is always in a valid state.
Workarounds as given by 0xJacky/nginx-ui's security advisory.

Affected software

SoftwareAffected versions
Nginx UIServers and applications · cpe:a:nginxui:nginx_ui
  • Every version before 2.3.4
Nginx UIServers and applications · github:0xjacky/nginx-ui
  • Every version before 1.30.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

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-33028
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-33028
  • GitHub Advisory Database https://github.com/advisories/GHSA-m468-xcm6-fxg4
  • github.com https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-m468-xcm6-fxg4