CVE-2023-50260
CVE-2023-50260 is a high-severity vulnerability in Wazuh with a CVSS 3.x base score of 8.8. Its EPSS exploit-prediction score of 41% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 41% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2023-55074
- Weakness: CWE-94
- Affected product: Wazuh
- Published:
- Last modified:
Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. A wrong validation in the `host_deny` script allows to write any string in the `hosts.deny` file, which can end in an arbitrary command execution on the target system. This vulnerability is part of the active response feature, which can automatically triggers actions in response to alerts. By default, active responses are limited to a set of pre defined executables. This is enforced by only allowing executables stored under `/var/ossec/active-response/bin` to be run as an active response. However, the `/var/ossec/active-response/bin/host_deny` can be exploited. `host_deny` is used to add IP address to the `/etc/hosts.deny` file to block incoming connections on a service level by using TCP wrappers. Attacker can inject arbitrary command into the `/etc/hosts.deny` file and execute arbitrary command by using the spawn directive. The active response can be triggered by writing events either to the local `execd` queue on server or to the `ar` queue which forwards the events to agents. So, it can leads to LPE on server as root and RCE on agent as root. This vulnerability is fixed in 4.7.2.
Frequently asked questions
- What is CVE-2023-50260?
- Wazuh is a free and open source platform used for threat prevention, detection, and response. A wrong validation in the `host_deny` script allows to write any string in the `hosts.deny` file, which can end in an arbitrary command execution on the target system. This vulnerability is part of the active response feature, which can automatically triggers actions in response to alerts. By default, active responses are limited to a set of pre defined executables. This is enforced by only allowing executables stored under `/var/ossec/active-response/bin` to be run as an active response. However, the `/var/ossec/active-response/bin/host_deny` can be exploited. `host_deny` is used to add IP address to the `/etc/hosts.deny` file to block incoming connections on a service level by using TCP wrappers. Attacker can inject arbitrary command into the `/etc/hosts.deny` file and execute arbitrary command by using the spawn directive. The active response can be triggered by writing events either to the local `execd` queue on server or to the `ar` queue which forwards the events to agents. So, it can leads to LPE on server as root and RCE on agent as root. This vulnerability is fixed in 4.7.2.
- How severe is CVE-2023-50260?
- CVE-2023-50260 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2023-50260 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 41% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-50260?
- CVE-2023-50260 affects Wazuh. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-50260?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2023-50260 have an EU (EUVD) identifier?
- Yes. CVE-2023-50260 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2023-55074.
- When was CVE-2023-50260 published?
- CVE-2023-50260 was published on 2024-04-19 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
More vulnerabilities in Wazuh
- CVE-2025-24016 — Critical (CVSS 9.9): Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 4.4.0…
- CVE-2024-32038 — Critical (CVSS 9.8): Wazuh is a free and open source platform used for threat prevention, detection, and response. There is a buffer…
- CVE-2021-44079 — Critical (CVSS 9.8): In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl…
- CVE-2026-25770 — Critical (CVSS 9.1): Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 3.9.0…
- CVE-2026-25769 — Critical (CVSS 9.1): Wazuh is a free and open source platform used for threat prevention, detection, and response. Versions 4.0.0 through…
- CVE-2026-30893 — Critical (CVSS 9.0): Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 4.4.0 to…
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.