{"id":"CVE-2026-42223","published":"2026-05-04T20:12:00Z","modified":"2026-05-05T14:08:40Z","title":"nginx-ui: Settings API Exposes Protected Secrets","vendor":"0xJacky","product":"nginx-ui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00295,"percentile":0.22703,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-q4w7-56hr-83rm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.8","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":4.54},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"0xjacky","affectedVersions":[{"vendor":"0xJacky","product":"nginx-ui","versions":["< 2.3.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-05T14:08:30.625361Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/0xJacky/nginx-ui","vulnerableRanges":["<2.3.8","all versions"],"patched":["2.3.8"],"from":["GHSA-q4w7-56hr-83rm","GO-2026-5565"],"provenance":"source"}],"summary":{"text":"The Settings API handler in nginx-ui (the GetSettings function in api/settings/settings.go) returns all settings structs as JSON, including fields tagged as protected, because the protection is enforced only on writes and ignored on reads. An attacker who holds any authenticated account can retrieve sensitive values such as the JWT secret, node secret, OIDC client secret, and IP whitelist configuration, which affects versions before 2.3.8, and the only precondition described is low-privilege authenticated access with no user interaction or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:03Z"},"euvd":{"id":"EUVD-2026-27140","exploited":false,"provenance":"source"}}