CVE-2026-5054 NoMachine External Control of File Path Local Privilege Escalation Vulnerability
Local attackers can escalate privileges to root via improper path validation in command line parameters, requiring prior low-privileged code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5054?
CVE-2026-5054 is a high-severity path traversal vulnerability in NoMachine, published on 11 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
NoMachine External Control of File Path Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of NoMachine. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
The specific flaw exists within the handling of command line parameters. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root. Was ZDI-CAN-28630.
Weakness: CWE-73
Which versions are affected by CVE-2026-5054?
It affects 1 product.
Products include Nomachine Nomachine.
How do I fix CVE-2026-5054?
No fix has been published for CVE-2026-5054 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-5054 being exploited?
There is no known exploitation of CVE-2026-5054 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in NoMachine
- CVE-2018-0664 Other in NoMachine App for Android
- CVE-2023-39107 Path traversal in n/a
- CVE-2017-12763 Privilege escalation in n/a
- CVE-2026-5055 NoMachine Uncontrolled Search Path Element Local Privilege Escalation Vulnerability
- CVE-2025-8614 NoMachine Uncontrolled Search Path Element Local Privilege Escalation Vulnerability
Sources
Also known as GHSA-4399-fg4g-454c.