Live threats

All CVEs / Nginxui

CVE-2026-42238Nginxui Nginx Ui

Critical 9.0 No auth needed

Priority
69
CVSS 4.0
9.0
EPSS
—
Auth required
No
Published
May 4, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nginx Ui.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/0xJacky/nginx-ui < 2.3.8 2.3.8 go get github.com/0xJacky/nginx-ui@v2.3.8
Go github.com/0xJacky/nginx-ui all no fixed version —

Per OSV / GitHub Advisories (GHSA-4pvg-prr3-9cxr, GO-2026-5129). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nginxuinginx_ui< 2.3.8

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.