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.
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.
Affected software
| Software | Affected versions |
|---|---|
Nginx UIServers and applications · cpe:a:nginxui:nginx_ui |
|
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
- 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