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.
Published: 2026-10-12
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized file write via path traversal
Action: Patch Now
AI Analysis

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.

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

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

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

Type Values Removed Values Added
Metrics ssvc

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


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

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

Mon, 12 Oct 2026 21:00:00 +0000

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'}


Subscriptions

0xjacky Nginx-ui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T20:24:05.329Z

Reserved: 2026-09-01T16:17:43.080Z

Link: CVE-2026-84320

cve-icon Vulnrichment

Updated: 2026-10-13T20:13:22.011Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T21:17:22.663

Modified: 2026-10-13T21:19:11.537

Link: CVE-2026-84320

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T00:00:16Z

Weaknesses
  • CWE-22

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