CVE-2026-84320

Nginx UI: Auto backup name allows path traversal outside validated storage path

Published Oct 12, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.3, Nginx UI validates an automatic backup's storage_path, but AutoBackup.GetName returns a user-controlled name without rejecting path separators or parent-directory components, and downstream filename formatting embeds that result in the final archive filename. An authenticated user who can create or modify an automatic backup can cause filepath.Join to resolve the generated archive path outside the validated storage directory, allowing backup archives to be written with the Nginx UI process privileges. For encrypted configuration backups, the adjacent encryption key file can also be written outside the validated directory. This issue is fixed in version 2.4.3.

Analysis

AI-generated

Technical impact

The flaw occurs when the Nginx UI automatic backup feature accepts a backup name that includes path separators or parent-directory components, a classic CWE-22 path traversal weakness. The application then builds the archive filename without sanitizing these components. An authenticated user who can create or modify a backup can trigger the path resolution in such a way that the resulting archive is written outside the directory that the application is meant to use for backups. The same path traversal also allows the encryption key file for encrypted backups to be created outside the validated directory. The consequence is an unauthorized write with the privileges of the Nginx UI process, enabling potential tampering of configuration files or other sensitive data.

Affected Systems

The vulnerability affects the Nginx UI web interface issued by 0xJacky. All releases prior to version 2.4.3 are vulnerable; the issue was fixed in the 2.4.3 release and later versions.

Risk and Exploitability

The CVSS score of 6.3 categorizes this issue as a medium severity problem. Exploitation requires an authenticated user with backup creation or modification rights, and no public remote exploitation method is documented. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalogue, indicating limited real-world exploitation evidence. Nonetheless, because the flaw permits path traversal, a skilled attacker could write arbitrary files anywhere that the Nginx UI process can access, potentially facilitating privilege escalation or configuration compromise. The risk is therefore significant for systems where the backup directory is not tightly constrained or the UI is running with elevated privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nginx UI to version 2.4.3 or later to eliminate the path traversal flaw
  • Restrict file system permissions on the configured backup directory and run the Nginx UI service under a non‑privileged user to limit write capabilities
  • Implement server‑side validation or a whitelist that rejects backup names containing path separators or parent‑directory references to mitigate future path traversal attempts

Generated by OpenCVE AI on October 12, 2026 at 23:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jrq7-xrjx-pcfw Nginx UI: Auto backup name allows path traversal outside validated storage path
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', '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. Prior to 2.4.3, Nginx UI validates an automatic backup's storage_path, but AutoBackup.GetName returns a user-controlled name without rejecting path separators or parent-directory components, and downstream filename formatting embeds that result in the final archive filename. An authenticated user who can create or modify an automatic backup can cause filepath.Join to resolve the generated archive path outside the validated storage directory, allowing backup archives to be written with the Nginx UI process privileges. For encrypted configuration backups, the adjacent encryption key file can also be written outside the validated directory. This issue is fixed in version 2.4.3.
Title Nginx UI: Auto backup name allows path traversal outside validated storage path
Weaknesses CWE-22
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 8:24 PM
Reserved
Sep 1, 2026, 4:17 PM
Status
Deferred
Published
Oct 12, 2026, 9:17 PM
Modified
Oct 13, 2026, 9:19 PM