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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| netdata | netdata | >= 1.45.0, < 1.45.3, >= 1.44.0-60, < 1.45.0-169 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Netdata ndsudo privilege escalation
exploit/linux/local/ndsudo_cve_2024_32019
GitHub 12 repositories · most starred shown
-
AzureADTrent/CVE-2024-32019-POC ★ 21 · Aug 3, 2025
POC for netdata ndsudo vulnerability - CVE-2024-32019
-
dollarboysushil/CVE-2024-32019-Netdata-ndsudo-PATH-Vulnerability-Privilege-Escalation ★ 13 · Aug 5, 2025
CVE-2024-32019 is a high-severity local privilege escalation vulnerability in Netdata (versions >= 1.44.0-60 < 1.45.3), caused by insecure use of the PATH variable in the ndsudo SUID binary, allowing…
-
AliElKhatteb/CVE-2024-32019-POC ★ 5 · Aug 3, 2025
this is a poc for the CVE-2025-24893
-
T1erno/CVE-2024-32019-Netdata-ndsudo-Privilege-Escalation-PoC ★ 3 · Sep 11, 2025
Netdata ndsudo Privilege Escalation PoC
-
x0da6h/POC-for-CVE-2024-32019 ★ 1 · Aug 25, 2025
-
80Ottanta80/CVE-2024-32019-PoC ★ 0 · Nov 1, 2025
Bash script for Privilege Escalation via "ndsudo" (Netdata Local Exploit)
-
hexared/CVE-2024-32019_poc ★ 0 · Sep 30, 2025
This is an alternative poc for the CVE-2024-32019 written in python
-
ayub0x7/cve-2024-32019-PoC ★ 0 · Aug 16, 2025
-
C0deInBlack/CVE-2024-32019-poc ★ 0 · Aug 6, 2025
Netdata ndsudo PoC
-
juanbelin/CVE-2024-32019-POC ★ 0 · Aug 5, 2025
Netdata ndsudo local privilage escalation workflow and POC (CVE-2024-32019)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.