CVE-2026-107810

Nginx UI: Backup restore follows crafted symlinks into the live Nginx configuration path before restore flags are applied

Published Oct 9, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui
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'}

Weaknesses
  • CWE-59

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

  • CWE-61

    UNIX Symbolic Link (Symlink) Following

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 4:56 PM
Reserved
Oct 8, 2026, 9:23 PM
Status
Analyzed
Published
Oct 9, 2026, 4:17 PM
Modified
Oct 20, 2026, 3:08 PM