Description
Nginx UI is a web user interface for the Nginx web server. From 2.0.0 until 2.5.0, internal/backup/restore.go extracts inner archives before applying the restore_nginx and restore_nginx_ui flags and permits symlinks targeting the live Nginx configuration path. An authenticated user who can create and restore backups can craft a valid backup that places a symlink in the staging tree and then writes a regular file through that link, even when both restore flags are false. This can persistently inject configuration or cause denial of service when the modified files are later consumed. This issue is fixed in version 2.5.0.
Published: 2026-10-09
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Configuration Injection
Action: Upgrade
AI Analysis

Impact

An authenticated user who creates or restores backups can embed a symbolic link in a backup archive that points to a path within the live Nginx configuration tree. During restore, the extraction routine follows the symlink before the restore flags that normally guard against file writes are applied, enabling the attacker to create or overwrite configuration files. This leads to persistent modification of the Nginx configuration, permitting malicious directives to be inserted or the service to be disrupted.

Affected Systems

Versions 2.0.0 through 2.5.0 of the Nginx UI web interface are impacted. Any deployment that permits authenticated users to perform backup and restore operations is vulnerable.

Risk and Exploitability

The CVSS score of 8.1 classifies the flaw as high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to be authenticated to the UI and have the privilege to create backups; after crafting a backup containing a harmful symlink and restoring it, the attacker gains persistent control over the server configuration, which can enable further compromise or lead to denial of service.

Generated by OpenCVE AI on October 9, 2026 at 16:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patch by upgrading Nginx UI to v2.5.0 or later.
  • Restrict backup and restore privileges to trusted accounts or remove the restore functionality for unprivileged users.
  • If an upgrade cannot occur immediately, disable or block the backup/restore endpoints to prevent the attacker from creating malicious archives.

Generated by OpenCVE AI on October 9, 2026 at 16:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p8v3-89rh-jxc7 Nginx UI: Backup restore follows crafted symlinks into the live Nginx configuration path before restore flags are applied
History

Tue, 20 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Nginxui
Nginxui nginx Ui
CPEs cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*
Vendors & Products Nginxui
Nginxui nginx Ui

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 09 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui

Fri, 09 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description Nginx UI is a web user interface for the Nginx web server. From 2.0.0 until 2.5.0, internal/backup/restore.go extracts inner archives before applying the restore_nginx and restore_nginx_ui flags and permits symlinks targeting the live Nginx configuration path. An authenticated user who can create and restore backups can craft a valid backup that places a symlink in the staging tree and then writes a regular file through that link, even when both restore flags are false. This can persistently inject configuration or cause denial of service when the modified files are later consumed. This issue is fixed in version 2.5.0.
Title Nginx UI: Backup restore follows crafted symlinks into the live Nginx configuration path before restore flags are applied
Weaknesses CWE-59
CWE-61
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}


Subscriptions

0xjacky Nginx-ui
Nginxui Nginx Ui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T16:56:38.228Z

Reserved: 2026-10-08T21:23:59.821Z

Link: CVE-2026-107810

cve-icon Vulnrichment

Updated: 2026-10-13T16:56:31.858Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-09T16:17:25.540

Modified: 2026-10-20T15:08:56.990

Link: CVE-2026-107810

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T17:00:09Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

  • CWE-61

    UNIX Symbolic Link (Symlink) Following