Skip to content
Threat Feed
high advisory PoC

NoMachine nxexec Local Privilege Escalation (CVE-2026-5054)

A logic flaw in the NoMachine SUID-root binary, nxexec, allows a low-privileged local attacker to achieve arbitrary file overwrite and escalate privileges to root.

CVE search metadata

CVE search record: CVE-2026-5054. Severity: high. CVSS: 7.8. EPSS: 0.21%. KEV: no. Product: NoMachine < 9.4.14. Brief: NoMachine nxexec Local Privilege Escalation (CVE-2026-5054). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nomachine-lpe-cve-2026-5054/

Triage facts

Revision 1
Applicability
NoMachine < 9.4.14
Evidence
Unknown
Severity
High
Sources
2 public sources
Freshness
Revision 1Nov 16, 21:41 UTC
Detection
1 rule
Vulnerabilities
1 CVE
Source quality
C3Roughly even chance

Overview

A logic flaw exists within the RedelegateKerberosTicketMit function of the NoMachine SUID-root binary, nxexec. This vulnerability stems from the insecure handling of the KRB5CCNAME environment variable and command-line arguments without validation of user-supplied paths.

Attack Chain

An attacker must first obtain the ability to execute low-privileged code on the target system. By supplying a crafted polyglot Kerberos ccache file and setting the KRB5CCNAME environment variable to point to this file, an attacker can leverage the nxexec binary to overwrite arbitrary files, such as /etc/passwd, with a malicious payload.

Impact

Successful exploitation allows a local, unprivileged attacker to escalate privileges to root and execute arbitrary code.

Recommendation

Upgrade to NoMachine version 9.4.14 or later to remediate this vulnerability.

Detection coverage 1

NoMachine nxexec Arbitrary File Overwrite Attempt

high

Detects the execution of the SUID-root binary nxexec with command-line arguments and environment variables potentially indicative of exploitation for CVE-2026-5054.

sigma tactics: privilege_escalation techniques: T1548.001 sources: process_creation, linux

Detection queries are available on the platform. Get full rules →