CVE-2025-15612 Wazuh Provisioning Scripts / Build Infrastructure Improper Certificate Validation leading to MITM and RCE
Attackers can perform MITM attacks during Wazuh build processes to inject malicious code due to disabled SSL validation, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-15612?
CVE-2025-15612 is a medium-severity vulnerability in Wazuh Wazuh, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Wazuh provisioning scripts and Dockerfiles contain an insecure transport vulnerability where curl is invoked with the -k/--insecure flag, disabling SSL/TLS certificate validation. Attackers with network access can perform man-in-the-middle attacks to intercept and modify downloaded dependencies or code during the build process, leading to remote code execution and supply chain compromise.
Which versions are affected by CVE-2025-15612?
It affects 1 product.
Products include Wazuh Wazuh.
How do I fix CVE-2025-15612?
No fix has been published for CVE-2025-15612 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-15612 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-15612 exists.
Other vulnerabilities in Wazuh Wazuh
- CVE-2025-24016 Wazuh Server Deserialization of Untrusted Data
- CVE-2024-32038 Wazuh Analysis Engine Event Decoder Heap-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2021-44079 Command injection in n/a
- CVE-2024-1243 Remote code execution and local privilege escalation in Wazuh Windows agent via NetNTLMv2 hash theft
- CVE-2026-61800 Wazuh cluster worker file sync allows arbitrary file write under /var/ossec (incomplete fix for CVE-2026-30893)
Sources
Also known as GHSA-wp7g-9j3h-9mcg, GHSA-wvg9-7q49-c7mg.