{"id":"CVE-2024-32019","aliases":["EUVD-2024-29857","GHSA-pmhq-4cxq-wj93"],"status":"published","title":"ndsudo: local privilege escalation via untrusted search path","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01165,"percentile":0.67741,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-426"],"published":"2024-04-12T20:33:18Z","modified":"2026-10-28T02:30:22Z","exploits":[{"source":"metasploit","id":"exploit/linux/local/ndsudo_cve_2024_32019","title":"Netdata ndsudo privilege escalation","type":"exploit","platform":"Linux","date":"2024-04-12","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/local/ndsudo_cve_2024_32019"},{"source":"pocgithub","id":"80Ottanta80/CVE-2024-32019-PoC","title":"80Ottanta80/CVE-2024-32019-PoC","date":"2025-11-01","url":"https://github.com/80Ottanta80/CVE-2024-32019-PoC"},{"source":"pocgithub","id":"AliElKhatteb/CVE-2024-32019-POC","title":"AliElKhatteb/CVE-2024-32019-POC","date":"2025-08-03","url":"https://github.com/AliElKhatteb/CVE-2024-32019-POC"},{"source":"pocgithub","id":"AzureADTrent/CVE-2024-32019-POC","title":"AzureADTrent/CVE-2024-32019-POC","date":"2025-08-03","url":"https://github.com/AzureADTrent/CVE-2024-32019-POC"},{"source":"pocgithub","id":"C0deInBlack/CVE-2024-32019-poc","title":"C0deInBlack/CVE-2024-32019-poc","date":"2025-08-06","url":"https://github.com/C0deInBlack/CVE-2024-32019-poc"},{"source":"pocgithub","id":"T1erno/CVE-2024-32019-Netdata-ndsudo-Privilege-Escalation-PoC","title":"T1erno/CVE-2024-32019-Netdata-ndsudo-Privilege-Escalation-PoC","date":"2025-09-11","url":"https://github.com/T1erno/CVE-2024-32019-Netdata-ndsudo-Privilege-Escalation-PoC"},{"source":"pocgithub","id":"ayub0x7/cve-2024-32019-PoC","title":"ayub0x7/cve-2024-32019-PoC","date":"2025-08-16","url":"https://github.com/ayub0x7/cve-2024-32019-PoC"},{"source":"pocgithub","id":"dollarboysushil/CVE-2024-32019-Netdata-ndsudo-PATH-Vulnerability-Privilege-Escalation","title":"dollarboysushil/CVE-2024-32019-Netdata-ndsudo-PATH-Vulnerability-Privilege-Escalation","date":"2025-08-05","url":"https://github.com/dollarboysushil/CVE-2024-32019-Netdata-ndsudo-PATH-Vulnerability-Privilege-Escalation"},{"source":"pocgithub","id":"hexared/CVE-2024-32019_poc","title":"hexared/CVE-2024-32019_poc","date":"2025-09-30","url":"https://github.com/hexared/CVE-2024-32019_poc"},{"source":"pocgithub","id":"juanbelin/CVE-2024-32019-POC","title":"juanbelin/CVE-2024-32019-POC","date":"2025-08-05","url":"https://github.com/juanbelin/CVE-2024-32019-POC"},{"source":"pocgithub","id":"julichaan/CVE-2024-32019-ndsudo-local-privilege-escalation-NetData","title":"julichaan/CVE-2024-32019-ndsudo-local-privilege-escalation-NetData","date":"2025-11-26","url":"https://github.com/julichaan/CVE-2024-32019-ndsudo-local-privilege-escalation-NetData"},{"source":"pocgithub","id":"justjoeyking/CVE-2024-32019-ndsudo","title":"justjoeyking/CVE-2024-32019-ndsudo","date":"2025-12-03","url":"https://github.com/justjoeyking/CVE-2024-32019-ndsudo"},{"source":"pocgithub","id":"x0da6h/POC-for-CVE-2024-32019","title":"x0da6h/POC-for-CVE-2024-32019","date":"2025-08-25","url":"https://github.com/x0da6h/POC-for-CVE-2024-32019"}],"products":[{"vendor":"netdata","product":"netdata"}],"references":[{"url":"https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"https://github.com/netdata/netdata/pull/17377","tags":["x_refsource_MISC","x_transferred","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32019.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32019","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-32019","title":"ndsudo: local privilege escalation via untrusted search path","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.","status":"published","published":"2024-04-12T20:33:18.08Z","modified":"2024-09-06T17:58:36.095Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:34:15.662528Z"}],"euvd":[{"id":"EUVD-2024-29857","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.","status":"published","published":"2024-04-12T20:33:18Z","modified":"2024-09-06T17:58:36Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:56:01.652315Z"}],"nvd":[{"id":"CVE-2024-32019","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.","status":"published","published":"2024-04-12T21:15:12.133Z","modified":"2026-06-17T07:29:07.87Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:09:50.299382Z"}],"osv":[{"id":"CVE-2024-32019","title":"ndsudo: local privilege escalation via untrusted search path","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.","status":"published","published":"2024-04-12T20:33:18.08Z","modified":"2026-10-28T02:30:22.215789602Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T15:44:40.391953Z"}]}}
