# CVE-2023-22496: Netdata vulnerable to command injection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.31% (percentile 71, 2026-11-26)
- **CWE:** CWE-20, CWE-77
- **Published:** 2023-01-14T00:59:53.873Z
- **Modified:** 2026-06-17T05:35:35.213Z

## Who should check

- Anyone running netdata \< 1.36.0-409; \< 1.37

## Description

Netdata is an open source option for real-time infrastructure monitoring and troubleshooting. An attacker with the ability to establish a streaming connection can execute arbitrary commands on the targeted Netdata agent. When an alert is triggered, the function \`health\_alarm\_execute\` is called. This function performs different checks and then enqueues a command by calling \`spawn\_enq\_cmd\`. This command is populated with several arguments that are not sanitized. One of them is the \`registry\_hostname\` of the node for which the alert is raised. By providing a specially crafted \`registry\_hostname\` as part of the health data that is streamed to a Netdata (parent) agent, an attacker can execute arbitrary commands at the remote host as a side-effect of the raised alert. Note that the commands are executed as the user running the Netdata Agent. This user is usually named \`netdata\`. The ability to run arbitrary commands may allow an attacker to escalate privileges by escalating other vulnerabilities in the system, as that user. The problem has been fixed in: Netdata agent v1.37 (stable) and Netdata agent v1.36.0-409 (nightly). As a workaround, streaming is not enabled by default. If you have previously enabled this, it can be disabled. Limiting access to the port on the recipient Agent to trusted child connections may mitigate the impact of this vulnerability.

## Affected and fixed versions

- netdata: \< 1.36.0-409; \< 1.37 (cvelist)

## Mitigation

- Upgrade netdata to 1.37 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-22496. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-22496.md
Affected: netdata < 1.36.0-409; < 1.37
Fixed in: netdata 1.36.0-409, netdata 1.37

Steps:
1. Search this machine and project for netdata: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-22496 being exploited?

There is no confirmed exploitation: CVE-2023-22496 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-22496?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-22496?

netdata \< 1.36.0-409; \< 1.37.

### Is there a fix for CVE-2023-22496?

Yes. Fixed in netdata 1.36.0-409, netdata 1.37. Upgrade netdata to 1.37 or later.

### How do I check if I'm affected by CVE-2023-22496?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/netdata/netdata/security/advisories/GHSA-xg38-3vmw-2978>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-22496>

HTML: <https://flawdb.com/CVE-2023-22496> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-22496>
