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.
CVE-2026-42238
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 42% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 51.3%
- KEV
- Not listed
Published
May 4, 2026
Last Modified
May 6, 2026
Advisory Details (2)
Auto-updated May 9, 2026Unauthenticated Remote Code Execution via Backup Restore in nginx-ui · Advisory · 0xJacky/nginx-ui · GitHub
https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-4pvg-prr3-9cxrRelease v2.3.8 · 0xJacky/nginx-ui · GitHub
https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.8Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/0xJacky/nginx-ui | — | 2.3.8 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 35× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 162 total refreshes for this CVE.
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 03:29 UTCEG score recompute
- 2026-06-14 23:31 UTCEG score recompute
- 2026-06-14 19:44 UTCEG score recompute
- 2026-06-14 15:57 UTCEG score recompute
- 2026-06-14 11:48 UTCEG score recompute
- 2026-06-14 08:02 UTCEG score recompute
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 02:28 UTCEG score recompute
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 10:11 UTCEG score recompute
- 2026-06-12 05:21 UTCEG score recompute
- 2026-06-12 01:35 UTCEG score recompute
- 2026-06-11 21:49 UTCEG score recompute
- 2026-06-11 18:03 UTCEG score recompute
- 2026-06-11 14:16 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 10:29 UTCEG score recompute
- 2026-06-11 06:34 UTCEG score recompute
- 2026-06-11 02:36 UTCEG score recompute
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 21:57 UTCEG score recompute
- 2026-06-10 18:10 UTCEG score recompute
- 2026-06-10 14:24 UTCEG score recompute
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 10:38 UTCEG score recompute
- 2026-06-10 06:44 UTCEG score recompute
- 2026-06-10 02:58 UTCEG score recompute
- 2026-06-09 23:12 UTCEG score recompute
- 2026-06-09 17:45 UTCEG score recompute
- 2026-06-09 13:59 UTCEG score recompute
- 2026-06-09 10:13 UTCEG score recompute
- 2026-06-09 06:27 UTCEG score recompute
- 2026-06-09 02:41 UTCEG score recompute
- 2026-06-08 22:33 UTCEG score recompute
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 12:24 UTCEG score recompute
- 2026-06-08 08:38 UTCEG score recompute
- 2026-06-08 04:52 UTCEG score recompute
- 2026-06-08 01:06 UTCEG score recompute
- 2026-06-07 21:20 UTCEG score recompute
- 2026-06-07 17:34 UTCEG score recompute
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 13:48 UTCEG score recompute
- 2026-06-07 10:02 UTCEG score recompute
- 2026-06-07 06:16 UTCEG score recompute
- 2026-06-07 02:30 UTCEG score recompute
- 2026-06-06 22:44 UTCEG score recompute
- 2026-06-06 18:58 UTCEG score recompute
- 2026-06-06 15:11 UTCEG score recompute
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 11:24 UTCEG score recompute
- 2026-06-06 07:36 UTCEG score recompute
- 2026-06-06 03:44 UTCEG score recompute
- 2026-06-05 23:57 UTCEG score recompute
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 20:09 UTCEG score recompute
- 2026-06-05 16:23 UTCEG score recompute
- 2026-06-05 12:37 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2006-1359NVD 0.0EG 9.0EPSS 99%NONE
- CVE-2005-1921NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2005-3302EG 7.3HIGH
- CVE-2005-1876EG 4.5MEDIUM
- CVE-2003-1599EG 0.0NONE
- CVE-2006-1318EG 0.0EPSS 96%NONE
- CVE-2006-1301EG 0.0EPSS 95%NONE
- CVE-2006-1308EG 0.0EPSS 95%NONE
- CVE-2006-1309EG 0.0EPSS 95%NONE
- CVE-2006-1304EG 0.0EPSS 95%NONE
Frequently asked(5)
What is CVE-2026-42238?
When was CVE-2026-42238 disclosed?
Is CVE-2026-42238 actively exploited?
What is the CVSS score of CVE-2026-42238?
How do I remediate CVE-2026-42238?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-42238
Is Your Infrastructure Affected by CVE-2026-42238?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.