CVE-2026-42223
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.
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-05 |
Timeline
- 2026-05-04Published by the CNA20:12 UTC
- 2026-05-05CISA SSVC decision recorded1 day after publication
- 2026-05-06GitHub advisory published (GHSA-q4w7-56hr-83rm)2 days after publication
Exploit and advisory records
GitHub advisory GHSA-q4w7-56hr-83rm, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/0xJacky/nginx-ui | before 2.3.8 | 2.3.8 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| nginxui nginx_ui | before 2.3.8fixed in 2.3.8 | 2.3.8 |
References
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-q4w7-56hr-83rm
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.8
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42223'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42223'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42223'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42223'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).