Skip to content
Path traversal Advisory Intermediate CVE-2026-5053

NoMachine External Control of File Path Arbitrary File Deletion Vulnerability

A local attacker who can already run low-privileged code could abuse how NoMachine handles environment variables to delete arbitrary files as root. The flaw is a missing check on a user-supplied path before it is used in file operations.

Anonymous Follow

Originally disclosed on Zero Day Initiative

High 7.1 View original

This vulnerability allows local attackers to delete arbitrary files 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.

Anonymous, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the program trusted a path taken from an environment variable and passed it to a file-deletion routine without validating or restricting it.

Impact

A local attacker with low-privileged code execution could delete arbitrary files with root privileges, which may damage the system or remove security-relevant files.

What the attacker needed

Local low-privileged code execution

The fix

It was fixed in NoMachine version 9.4.14.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Some programs run parts of their work with high permissions, here root, which is the all-powerful account on a Linux or Unix system. This report says NoMachine took a file path from something the user controls, an environment variable, and used it to delete a file without checking where that path pointed. So someone who already had a small foothold on the machine could make the program delete important files with root's power.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Anonymous

View all

2,270 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.