GHSA-4pvg-prr3-9cxr · Severity: critical · Ecosystem: go — Nginx-UI is Vulnerable to Unauthenticated Remote Code Execution via Backup Restore
Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.8, nginx-ui exposes a backup restore endpoint (POST /api/restore) that is completely unauthenticated during the first 10 minutes after process startup on any fresh installation. An unauthenticated remote attacker can upload a crafted backup archive that overwrites the application's configuration file (app.ini) and SQLite database. Because the attacker controls the restored app.ini, they can inject an arbitrary OS command into the TestConfigCmd setting. After the application automatically restarts to apply the restored config, a single follow-up request triggers that command as the user running nginx-ui — typically root in Docker deployments. This issue has been patched in version 2.3.8.
Conclusion & alert: CVE-2026-42238 is rated High Exploit Risk (70.2/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 0.32%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-10 | 0.23% | 0.32% | +0.09% |
| 2 | 2026-05-05 | — | 0.23% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.0 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-4pvg-prr3-9cxr · Severity: critical · Ecosystem: go — Nginx-UI is Vulnerable to Unauthenticated Remote Code Execution via Backup Restore
| URL | Tags |
|---|---|
| https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.8 | Release Notes |
| https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-4pvg-prr3-9cxr | Exploit Vendor Advisory |