CVE-2024-32019

HIGH

netdata 1.44.0-60-1.45.0-169 and 1.45.0-1.45.3 - Local Privilege Escalation via PATH Environment Variable Manipulation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 17 public exploits for CVE-2024-32019. PoCs published by AzureADTrent, dollarboysushil, AliElKhatteb, including Metasploit module exploits/linux/local/ndsudo_cve_2024_32019.

AI-analyzed exploit summary This repository contains a functional privilege escalation exploit for CVE-2024-32019, targeting the `ndsudo` utility in Netdata. The exploit leverages PATH injection to execute a malicious `nvme` binary with root privileges.

Description

Netdata is an open source observability tool. In affected versions the `ndsudo` tool shipped with affected versions of the Netdata Agent allows an attacker to run arbitrary programs with root permissions. The `ndsudo` tool is packaged as a `root`-owned executable with the SUID bit set. It only runs a restricted set of external commands, but its search paths are supplied by the `PATH` environment variable. This allows an attacker to control where `ndsudo` looks for these commands, which may be a path the attacker has write access to. This may lead to local privilege escalation. This vulnerability has been addressed in versions 1.45.3 and 1.45.2-169. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Exploits (17)

nomisec WORKING POC 21 stars
by AzureADTrent · poc
https://github.com/AzureADTrent/CVE-2024-32019-POC

This repository contains a functional privilege escalation exploit for CVE-2024-32019, targeting the `ndsudo` utility in Netdata. The exploit leverages PATH injection to execute a malicious `nvme` binary with root privileges.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Netdata (ndsudo utility)
Auth required
Prerequisites: Local shell access · Vulnerable `ndsudo` utility present · Ability to compile and transfer payload
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 13 stars
by dollarboysushil · poc
https://github.com/dollarboysushil/CVE-2024-32019-Netdata-ndsudo-PATH-Vulnerability-Privilege-Escalation

This repository contains a functional exploit for CVE-2024-32019, targeting a PATH-based privilege escalation vulnerability in Netdata's ndsudo. The exploit compiles a malicious binary, transfers it to the target, and manipulates the PATH environment variable to escalate privileges to root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Netdata ndsudo (specific version not specified)
Auth required
Prerequisites: SSH access to the target system · Presence of vulnerable ndsudo binary · GCC compiler on the target system
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 5 stars
by AliElKhatteb · poc
https://github.com/AliElKhatteb/CVE-2024-32019-POC

This PoC exploits CVE-2024-32019, a local privilege escalation vulnerability in Netdata's ndsudo due to an untrusted search path. The exploit manipulates the PATH environment variable to execute a malicious binary named 'nvme' with elevated privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Netdata (versions >= v1.45.0, < v1.45.3 and >= v1.44.0-60, < v1.45.0-169)
No auth needed
Prerequisites: Access to a vulnerable version of Netdata · Ability to transfer and execute a binary on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by T1erno · poc
https://github.com/T1erno/CVE-2024-32019-Netdata-ndsudo-Privilege-Escalation-PoC

This repository contains a functional privilege escalation PoC for CVE-2024-32019, exploiting an untrusted search path vulnerability in Netdata's ndsudo SUID binary. The exploit manipulates the PATH environment variable to execute a malicious 'nvme' binary as root.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Netdata Agent (v1.45.0 to v1.45.3, v1.44.0-60 to v1.45.0-169)
No auth needed
Prerequisites: Local access to a vulnerable Netdata installation · Presence of the ndsudo SUID binary
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SUSPICIOUS 1 stars
by x0da6h · poc
https://github.com/x0da6h/POC-for-CVE-2024-32019

The repository contains a trivial C program that spawns a root shell but lacks any technical details about CVE-2024-32019. The README is vague and does not explain the vulnerability or how the PoC demonstrates it.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: none specified
devstral-2 · analyzed Feb 18, 2026 Full analysis →
github WORKING POC
by Akira07210 · pythonpoc
https://github.com/Akira07210/Exploit-CVE-2024-34070

This repository contains a functional exploit for CVE-2024-34070, which leverages a stored XSS vulnerability to create an admin account in the target application. The exploit uses a crafted payload to bypass authentication and execute JavaScript that adds a new admin user.

Classification
Working Poc 95%
Attack Type
Xss
Complexity
Moderate
Reliability
Reliable
Target: Froxlor (version not specified)
No auth needed
Prerequisites: Target URL · Desired username and password for the new admin account
devstral-2 · analyzed May 19, 2026 Full analysis →
github WORKING POC
by Akira07210 · pythonpoc
https://github.com/Akira07210/Exploit-CVE-2024-32019

This is a functional exploit for CVE-2024-32019, leveraging a stored XSS vulnerability in Froxlor to create an admin account via CSRF token extraction and a malicious payload. The script automates the attack by sending a crafted request to the target server.

Classification
Working Poc 95%
Attack Type
Xss
Complexity
Moderate
Reliability
Reliable
Target: Froxlor (version not specified)
No auth needed
Prerequisites: Target URL · Desired username and password for the new admin account
devstral-2 · analyzed May 18, 2026 Full analysis →
nomisec WORKING POC
by kikechans · poc
https://github.com/kikechans/-Netdata-PrivEsc-CVE-2024-32019

The repository contains a functional Bash script that exploits a PATH hijacking vulnerability in Netdata's `ndsudo` binary (CVE-2024-32019) to achieve local privilege escalation. The exploit creates a malicious `nvme` binary, manipulates the PATH environment variable, and leverages the SUID binary to execute arbitrary commands with elevated privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Netdata (ndsudo binary)
No auth needed
Prerequisites: Access to a system with vulnerable Netdata installation · Presence of the SUID `ndsudo` binary
devstral-2 · analyzed May 27, 2026 Full analysis →
nomisec WORKING POC
by kikechans · poc
https://github.com/kikechans/CVE-2024-32019-Netdata-ndsudo-PrivEsc

This repository contains a Bash script that exploits a PATH hijacking vulnerability in the SUID binary `ndsudo` of Netdata (CVE-2024-32019) to achieve local privilege escalation. The script is designed to bypass common restrictions such as `nosuid` and Bash privilege dropping.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Netdata (ndsudo)
No auth needed
Prerequisites: Access to a system with vulnerable Netdata installation · Presence of the SUID binary `ndsudo`
devstral-2 · analyzed May 14, 2026 Full analysis →
nomisec WORKING POC
by justjoeyking · poc
https://github.com/justjoeyking/CVE-2024-32019-ndsudo

The repository contains functional exploit scripts for CVE-2024-32019, which leverages an untrusted search path in the ndsudo tool (part of Netdata Agent) to execute a malicious binary with root privileges. The exploit involves compiling a malicious 'nvme' binary, poisoning the PATH environment variable, and triggering ndsudo to execute it.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Netdata Agent (ndsudo tool) v1.45.0 and below
No auth needed
Prerequisites: Netdata Agent installed with vulnerable ndsudo tool · Write access to a directory in PATH · Ability to execute ndsudo
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC
by julichaan · poc
https://github.com/julichaan/CVE-2024-32019-ndsudo-local-privilege-escalation-NetData

This repository contains a functional Python exploit for CVE-2024-32019, a local privilege escalation vulnerability in Netdata's `ndsudo` component. The exploit leverages PATH environment variable manipulation to execute arbitrary commands as root by hijacking allowed binaries.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Netdata (specific version not specified)
Auth required
Prerequisites: Local access to the target machine · Python 3 installed · Vulnerable version of Netdata installed
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC
by 80Ottanta80 · poc
https://github.com/80Ottanta80/CVE-2024-32019-PoC

This repository contains a functional privilege escalation exploit for CVE-2024-32019, leveraging PATH environment variable manipulation in Netdata's 'ndsudo' tool to execute a malicious 'nvme' binary, resulting in a root reverse shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Netdata (>= v1.45.0, < v1.45.3; >= v1.44.0-60, < v1.45.0-169)
Auth required
Prerequisites: Local shell access on target · Permission to execute ndsudo · Network connectivity to attacker-controlled server · wget/curl on target machine
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC
by hexared · poc
https://github.com/hexared/CVE-2024-32019_poc

This PoC exploits a local privilege escalation vulnerability in Netdata's `ndsudo` utility by injecting a malicious script into the user's PATH, which is then executed as root when `ndsudo` is invoked with an allowed command name.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Netdata (ndsudo utility)
Auth required
Prerequisites: Local shell access · Python3 on target · Ability to execute `ndsudo`
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by sPhyos · poc
https://github.com/sPhyos/cve-2024-32019-PoC

The repository provides a functional exploit for CVE-2024-32019, a local privilege escalation vulnerability in Netdata's `ndsudo` helper. It includes detailed steps to exploit the PATH resolution flaw, along with diagnostic tools to verify the vulnerability.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Netdata (versions >= 1.44.0-60, < 1.45.0-169 and >= 1.45.0, < 1.45.3)
No auth needed
Prerequisites: Local access to a system with vulnerable Netdata installation · Ability to modify PATH environment variable · Write access to a directory in PATH
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by C0deInBlack · poc
https://github.com/C0deInBlack/CVE-2024-32019-poc

This repository contains a functional exploit for CVE-2024-32019, leveraging a vulnerability in Netdata's ndsudo to escalate privileges by setting the SUID bit on /bin/bash. The exploit consists of a Go binary (poc.go) that performs the privilege escalation and a bash script (exploit.sh) to deliver and execute the payload on the target machine.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Netdata (ndsudo)
No auth needed
Prerequisites: Target machine must have Netdata installed with vulnerable ndsudo · Attacker must have write access to a directory on the target machine · Target must execute the provided payload.sh script
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by juanbelin · poc
https://github.com/juanbelin/CVE-2024-32019-POC

This repository provides a functional proof-of-concept exploit for CVE-2024-32019, a local privilege escalation vulnerability in Netdata's `ndsudo` plugin. The exploit leverages PATH hijacking to execute a malicious binary with elevated privileges, resulting in a root shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Netdata (versions >= v1.45.0, < v1.45.3, >= v1.44.0-60, < v1.45.0-169)
No auth needed
Prerequisites: Access to a system with vulnerable Netdata installation · Ability to compile and place a malicious binary in a writable directory
devstral-2 · analyzed Feb 18, 2026 Full analysis →
metasploit WORKING POC NORMAL
by msutovsky-r7, mia-0 · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/ndsudo_cve_2024_32019.rb

This Metasploit module exploits an untrusted search path vulnerability in Netdata's `ndsudo` binary (CVE-2024-32019) to achieve local privilege escalation by uploading a malicious `nvme` binary to a writable directory and manipulating the PATH variable.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Netdata Agent v1.45.0 and below
No auth needed
Prerequisites: Write access to a directory in PATH · Presence of vulnerable `ndsudo` binary
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Issue Tracking x_refsource_misc
https://github.com/netdata/netdata/pull/17377

Scores

CVSS v3 8.8
EPSS 0.0058
EPSS Percentile 69.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-426
Status published
Products (2)
netdata/netdata >= 1.44.0-60, < 1.45.0-169
netdata/netdata >= 1.45.0, < 1.45.3
Published Apr 12, 2024
Tracked Since Feb 18, 2026