CVE-2025-15612 Wazuh Provisioning Scripts / Build Infrastructure Improper Certificate Validation leading to MITM and RCE

Medium 6.3 Published Updated

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.

Weakness: CWE-829, CWE-295

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.

All Wazuh Wazuh vulnerabilities

Sources

Also known as GHSA-wp7g-9j3h-9mcg, GHSA-wvg9-7q49-c7mg.

Is CVE-2025-15612 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free