Race Condition Affecting github.com/0xjacky/nginx-ui/settings package, versions <2.3.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.53% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOM0XJACKYNGINXUISETTINGS-15915611
  • published6 Apr 2026
  • disclosed30 Mar 2026
  • creditUnknown

Introduced: 30 Mar 2026

CVE-2026-33028  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade github.com/0xJacky/Nginx-UI/settings to version 2.3.4 or higher.

Overview

github.com/0xJacky/Nginx-UI/settings is a yet another Nginx Web UI

Affected versions of this package are vulnerable to Race Condition through the settings update pipeline in api/settings/settings.go and settings/settings.go. An attacker can corrupt app.ini and disrupt service availability by sending concurrent settings-update requests. Concurrent calls to settings.Update()/settings.Save() can interleave shared in-memory state changes with non-atomic file replacement, causing persistent configuration corruption and, in severe cases, a startup failure or service collapse.

**Notes**

  • The vulnerable path is reached when authenticated users trigger settings changes, including POST /api/settings and related settings endpoints.
  • The issue affects the primary configuration file written by the application, so corruption can persist across restarts.

CVSS Base Scores

version 4.0
version 3.1