Home / 0xJacky / nginx-ui / CVE-2026-42238
CVE-2026-42238: is it exploited, and which versions of 0xJacky nginx-ui are affected and fixed?
CVE-2026-42238 is a code injection (remote code execution) vulnerability in 0xJacky nginx-ui. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: github.com/0xJacky/nginx-ui before 2.3.8 (GitHub advisory GHSA-4pvg-prr3-9cxr). Fixed in 2.3.8 (GitHub advisory GHSA-4pvg-prr3-9cxr). Severity: Critical (9.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42238?
Unauthenticated Remote Code Execution via Backup Restore in nginx-ui
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.
From the CVE record by GitHub_M, last updated May 5, 2026, 15:50 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 0xJacky | nginx-ui | < 2.3.8 |
As the CVE record by GitHub_M states it, last updated May 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/0xJacky/nginx-ui | < 2.3.8 | 2.3.8 | GHSA-4pvg-prr3-9cxr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 6, 2026. Summary: Nginx-UI is Vulnerable to Unauthenticated Remote Code Execution via Backup Restore.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nginxui | nginx ui | before 2.3.8 | application |
NVD analysis (status Analyzed), last modified October 25, 2026, 23:10 UTC.
How severe is CVE-2026-42238?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | GitHub_M |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42238 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, May 5, 2026)
- EPSS
- 0.99% probability of exploitation activity in the next 30 days, percentile 63.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-4pvg-prr3-9cxr x_refsource_CONFIRM
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 25, 2026
- Published
- May 4, 2026, 20:13 UTC
- CVE record updated
- May 5, 2026, 15:50 UTC by GitHub_M
- NVD
- Analyzed, last modified October 25, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nginx-ui?
- Oct 12, 2026CVE-2026-84312 0xJacky nginx-ui: authentication bypass (improper authentication)
- Oct 12, 2026CVE-2026-84360 0xJacky nginx-ui: authentication bypass through another path
- Oct 12, 2026CVE-2026-84316 0xJacky nginx-ui: improper input validation
- Oct 12, 2026CVE-2026-84319 0xJacky nginx-ui: protection mechanism failure
- Oct 12, 2026CVE-2026-84317 0xJacky nginx-ui: improper input validation
- Oct 12, 2026CVE-2026-84313 0xJacky nginx-ui: authentication bypass (improper authentication)
- Oct 12, 2026CVE-2026-84321 0xJacky nginx-ui: session does not expire
- Oct 12, 2026CVE-2026-84314 0xJacky nginx-ui: improper authorization
Questions about CVE-2026-42238
Is CVE-2026-42238 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.99% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of 0xJacky nginx-ui are affected by CVE-2026-42238?
github.com/0xJacky/nginx-ui before 2.3.8, per the GitHub advisory GHSA-4pvg-prr3-9cxr. The tables above give every range the sources list.
Which version fixes CVE-2026-42238?
2.3.8, per the GitHub advisory GHSA-4pvg-prr3-9cxr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42238?
Critical (9.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42238?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.