CVE-2026-5054 NoMachine External Control of File Path Local Privilege Escalation Vulnerability

High 7.8 Published Updated

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.

Sources

Also known as GHSA-4399-fg4g-454c.

Is CVE-2026-5054 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free