Skip to content

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

HighCVSS 8.1 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Nginx

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
0xJacky nginx-ui(Go) >= 1.9.10-0.20250517140552-daee3ac7ade1, < 1.9.10-0.20260728074146-a467ed652591 1.9.10-0.20260728074146-a467ed652591 Fixed
nginxui nginx ui >= 2.0.0, < 2.5.0 2.5.0 Fixed
0xJacky nginx-ui = >= 2.0.0, < 2.5.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
0xJacky nginx-ui(Go) >= 1.9.10-0.20250517140552-daee3ac7ade1, < 1.9.10-0.20260728074146-a467ed652591 1.9.10-0.20260728074146-a467ed652591
0xJacky nginx-ui = >= 2.0.0, < 2.5.0 No fix listed
nginxui nginx ui >= 2.0.0, < 2.5.0 2.5.0

References