Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-42223 EUVD-2026-27140GHSA-q4w7-56hr-83rmGO-2026-5565

nginx-ui: Settings API Exposes Protected Secrets

Published May 4, 2026 · Updated May 5, 2026 · Assigned by GitHub_M

Description

Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.8, the GetSettings API handler (api/settings/settings.go:24-65) serializes all settings structs to JSON and returns them to authenticated users. Many sensitive fields are tagged with protected:"true" - however, this tag is only enforced during writes (via ProtectedFill in SaveSettings) and is completely ignored during reads. This exposes 40+ protected fields including JwtSecret (enabling auth token forgery), NodeSecret (enabling cluster node impersonation), OIDC ClientSecret (enabling OAuth account takeover), and the IP whitelist configuration. This issue has been patched in version 2.3.8.

Affected products

VendorProductAffectedFixed
0xJacky nginx-ui < 2.3.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/0xJacky/nginx-ui < 2.3.8 2.3.8 GHSA-q4w7-56hr-83rm
Go github.com/0xJacky/nginx-ui all versions — GO-2026-5565

Advisories 2

References