All vulnerabilities

Servers and applications

CVE-2026-84320

Auto backup name allows path traversal outside validated storage path

Severity
Medium 6.3
Published
17 Jul 2026
Last changed
13 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.4.3
Exploit chance
0.2% in the next 30 daysHigher than 6% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Also known as
GHSA-jrq7-xrjx-pcfw
Sources
CVE Program, Project advisories (GitHub)

Description

Nginx UI validates backup_path and storage_path against the administrator-defined backup.GrantedAccessPath boundary, but the final auto-backup output filename is built from the user-controlled auto-backup name without stripping path separators or .. components.

An authenticated user who can create or modify an auto-backup task can set a name such as task/../../../escaped. The configured storage_path still passes validation because it is inside GrantedAccessPath, but the generated backup path escapes that storage directory when filepath.Join(storage_path, filename) resolves the embedded traversal sequence.

This bypasses the documented backup path boundary and allows backup archives, and for encrypted configuration backups the adjacent .key file, to be written outside the intended storage directory with the Nginx UI process privileges.

The project documentation describes backup.GrantedAccessPath as the critical security boundary for backup operations. It says the setting:

From 0xJacky/nginx-ui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Nginx UIServers and applications · cna:0xjacky|nginx-ui
  • Every version before 2.4.3
Nginx UIServers and applications · github:0xjacky/nginx-ui
  • Every version up to 2.3.10

About Nginx UI

Yet another WebUI for Nginx

From its GitHub repository.
Docker Hub pulls
1,512,532Docker Hub, 15 Nov 2026
GitHub stars
11,783GitHub, 15 Nov 2026
Forks
921GitHub, 15 Nov 2026
Latest release
v3.0.3GitHub, 15 Nov 2026
Released
12 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
19 Feb 2021GitHub

References