Severity by source
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
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
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
Lifecycle Timeline
3DescriptionGitHub Advisory
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.
AnalysisAI
Remote code execution as root in nginx-ui versions before 2.3.8 via unauthenticated backup restore within 10-minute startup window. Attackers exploit the completely unauthenticated /api/restore endpoint during initial installation to upload malicious backup archives that overwrite app.ini configuration with injected OS commands in TestConfigCmd setting. After automatic application restart, command injection triggers with privileges of the nginx-ui process - typically root in Docker deployments. EPSS data not available; no active exploitation reported but publicly disclosed via GitHub Security Advisory GHSA-4pvg-prr3-9cxr. Patch released in version 2.3.8.
Technical ContextAI
Nginx-ui (CPE: cpe:2.3:a:0xjacky:nginx-ui) is a web-based management interface for Nginx web servers, commonly deployed in Docker containers running as root. The vulnerability stems from CWE-94 (Improper Control of Generation of Code/Code Injection) in the backup restoration logic. During the first 10 minutes after fresh installation startup, the POST /api/restore endpoint lacks authentication enforcement entirely. The endpoint accepts backup archives containing app.ini configuration files and SQLite databases. The application's TestConfigCmd configuration parameter accepts arbitrary shell commands intended for Nginx configuration validation. By crafting a malicious backup archive with injected commands in the restored app.ini file, attackers achieve code injection. The application automatically restarts to apply restored configurations, executing the injected command string through the TestConfigCmd mechanism with the process owner's privileges.
RemediationAI
Immediately upgrade to nginx-ui version 2.3.8 or later, released by vendor at https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.8. For environments unable to patch immediately, implement network-level access controls to restrict /api/restore endpoint access during the critical 10-minute startup window: configure reverse proxy or firewall rules to block unauthenticated POST requests to /api/restore from external networks, allowing access only from trusted management subnets. This mitigation adds operational complexity to legitimate backup restoration workflows and requires careful coordination during deployment windows. For Docker deployments, run nginx-ui container under a non-root user account with least-privilege principles to limit command injection impact scope, though this may affect Nginx management capabilities requiring elevated permissions. Monitor authentication logs for unexpected /api/restore access attempts during fresh installations. No other workaround eliminates the underlying authentication bypass - version upgrade is the definitive remediation.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
An issue in Plone Docker Official Image 5.2.13 (5221) open-source software that could allow for remote code execution du
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve
Unauthenticated remote code execution in 9router (npm package) versions 0.4.30 through 0.4.36 allows network-adjacent at
Same weakness CWE-94 – Code Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-27141
GHSA-4pvg-prr3-9cxr