The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-15612

CVE-2025-15612: Wazuh Insecure Transport RCE Vulnerability

CVE-2025-15612 is an insecure transport vulnerability in Wazuh provisioning scripts allowing man-in-the-middle attacks during build processes. This article covers the technical details, affected systems, and mitigation.

Published: April 3, 2026

CVE-2025-15612 Overview

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.

Critical Impact

This vulnerability enables attackers to intercept and tamper with downloads during Wazuh build processes, potentially injecting malicious code into the supply chain and achieving remote code execution on systems running compromised builds.

Affected Products

  • Wazuh provisioning scripts
  • Wazuh Dockerfiles
  • Wazuh build infrastructure components

Discovery Timeline

  • 2026-03-27 - CVE CVE-2025-15612 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2025-15612

Vulnerability Analysis

This vulnerability falls under CWE-295 (Improper Certificate Validation), a certificate validation bypass weakness that affects the integrity of the software supply chain. When curl is invoked with the -k or --insecure flag, it completely bypasses SSL/TLS certificate verification, accepting any certificate regardless of validity, expiration, or issuing authority.

The attack surface requires network-level access to intercept communications between the build environment and remote servers hosting dependencies. While the attack complexity is higher due to the need for network positioning, successful exploitation requires no privileges or user interaction once an attacker achieves man-in-the-middle positioning.

The primary impact is on confidentiality and integrity of the build process. Attackers can inject malicious code into downloaded scripts, binaries, or dependencies, which then execute during the build phase with full system privileges.

Root Cause

The root cause is the explicit use of the -k or --insecure flag in curl commands within provisioning scripts and Dockerfiles. This flag instructs curl to skip all SSL/TLS certificate validation checks, including:

  • Certificate chain verification against trusted certificate authorities
  • Certificate expiration date validation
  • Hostname verification against certificate subject/SAN fields
  • Certificate revocation status checks

This practice is often introduced as a workaround for development environments with self-signed certificates but becomes a significant security risk when left in production-facing scripts.

Attack Vector

The vulnerability is exploited through network-based man-in-the-middle (MITM) attacks. An attacker positioned on the network path between the build system and remote dependency servers can:

  1. Intercept HTTPS connections that would normally be secured
  2. Present a fraudulent SSL certificate (which curl accepts due to the -k flag)
  3. Serve modified or entirely malicious content in place of legitimate dependencies
  4. Inject backdoors, malware, or other malicious code into the build process

This exploitation technique represents a supply chain attack vector, where compromising the build infrastructure can affect all downstream deployments built using the vulnerable scripts.

Detection Methods for CVE-2025-15612

Indicators of Compromise

  • Presence of -k or --insecure flags in curl commands within provisioning scripts and Dockerfiles
  • Unexpected network traffic patterns during build processes
  • Modified checksums of downloaded dependencies compared to known-good hashes
  • Evidence of certificate errors or warnings being suppressed in build logs

Detection Strategies

  • Scan all provisioning scripts and Dockerfiles for usage of curl -k or curl --insecure patterns
  • Implement code review processes that flag insecure transport configurations before deployment
  • Deploy network intrusion detection systems to identify potential MITM attacks on build infrastructure
  • Verify cryptographic hashes of all downloaded dependencies against vendor-published checksums

Monitoring Recommendations

  • Monitor build system network connections for unexpected certificate warnings or SSL/TLS anomalies
  • Implement logging and alerting for any build processes that download external dependencies
  • Review and audit build infrastructure network configurations to ensure proper segmentation
  • Establish baseline behavior for build processes and alert on deviations

How to Mitigate CVE-2025-15612

Immediate Actions Required

  • Audit all Wazuh provisioning scripts and Dockerfiles for curl commands using the -k or --insecure flag
  • Remove the -k/--insecure flag and configure proper SSL/TLS certificate validation
  • Verify the integrity of any builds performed using the vulnerable scripts
  • Implement network segmentation to isolate build infrastructure from untrusted networks

Patch Information

Organizations should review the GitHub Security Advisory for official remediation guidance. The fix involves removing insecure curl flags and ensuring proper certificate validation is enabled for all HTTPS connections during the build process.

Additional technical details are available in the VulnCheck Security Advisory.

Workarounds

  • Replace -k/--insecure flags with proper certificate chain configuration using --cacert to specify trusted CA bundles
  • If self-signed certificates are required in development, use --cacert with the specific self-signed certificate instead of disabling validation entirely
  • Implement checksum verification for all downloaded dependencies regardless of transport security
  • Use pinned certificate validation where possible for critical dependencies
bash
# Secure curl configuration example
# Instead of: curl -k https://example.com/dependency.tar.gz
# Use proper certificate validation:
curl --cacert /etc/ssl/certs/ca-certificates.crt https://example.com/dependency.tar.gz -o dependency.tar.gz

# Verify checksum after download
sha256sum -c dependency.tar.gz.sha256

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWazuh

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-295
  • Technical References
  • GitHub Security Advisory

  • VulnCheck Security Advisory
  • Related CVEs
  • CVE-2025-15616: Wazuh Shell Injection RCE Vulnerability

  • CVE-2026-25769: Wazuh Deserialization RCE Vulnerability

  • CVE-2025-24016: Wazuh Platform RCE Vulnerability

  • CVE-2023-7340: Wazuh authd Buffer Overflow Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English