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-10230

CVE-2025-10230: Samba WINS Hook RCE Vulnerability

CVE-2025-10230 is a remote code execution flaw in Samba's WINS hook handling that allows unauthenticated attackers to execute commands. This post covers the technical details, affected versions, impact, and mitigation.

Published: March 11, 2026

CVE-2025-10230 Overview

A critical command injection vulnerability has been discovered in Samba's front-end WINS hook handling mechanism. The flaw exists because NetBIOS names from registration packets are passed directly to a shell without proper validation or escaping. This allows unsanitized NetBIOS name data from WINS registration packets to be inserted into a shell command and executed by the Samba Active Directory Domain Controller's wins hook, enabling an unauthenticated network attacker to achieve remote command execution as the Samba process.

Critical Impact

Unauthenticated attackers can execute arbitrary commands on Samba Active Directory Domain Controllers by sending maliciously crafted WINS registration packets with specially crafted NetBIOS names, potentially leading to complete system compromise.

Affected Products

  • Samba Active Directory Domain Controllers with WINS hook enabled
  • Samba deployments utilizing front-end WINS hook handling
  • Systems running vulnerable Samba versions with WINS registration functionality

Discovery Timeline

  • 2025-11-07 - CVE-2025-10230 published to NVD
  • 2025-12-03 - Last updated in NVD database

Technical Details for CVE-2025-10230

Vulnerability Analysis

This vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command) represents a severe command injection flaw in Samba's WINS hook implementation. The core issue stems from the application's failure to properly sanitize or escape NetBIOS name data before passing it to the system shell for execution.

When a Samba Active Directory Domain Controller processes WINS registration packets, the NetBIOS names contained within these packets are directly incorporated into shell commands executed by the wins hook mechanism. An attacker can exploit this by crafting malicious NetBIOS names containing shell metacharacters or command sequences, which are then executed with the privileges of the Samba process.

The network-accessible nature of this vulnerability, combined with the absence of authentication requirements, makes it particularly dangerous in enterprise environments where Samba is commonly deployed for Active Directory services.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and improper handling of user-controlled data. Specifically, the Samba WINS hook implementation fails to sanitize or escape special shell characters in NetBIOS names before constructing and executing shell commands. This lack of input validation allows attackers to inject arbitrary shell commands through specially crafted NetBIOS registration packets.

Attack Vector

The attack is executed over the network without requiring authentication or user interaction. An attacker sends a malicious WINS registration packet containing a crafted NetBIOS name with embedded shell commands to the vulnerable Samba server. When the WINS hook processes this registration, the unsanitized NetBIOS name is passed to the shell, causing the injected commands to execute with the privileges of the Samba process.

The attack flow involves:

  1. Attacker crafts a WINS registration packet with a NetBIOS name containing shell metacharacters and malicious commands
  2. The packet is sent to the vulnerable Samba Active Directory Domain Controller
  3. The WINS hook mechanism processes the registration and constructs a shell command incorporating the malicious NetBIOS name
  4. The shell interprets the metacharacters and executes the injected commands
  5. The attacker achieves remote command execution as the Samba process

Detection Methods for CVE-2025-10230

Indicators of Compromise

  • Unusual WINS registration traffic containing special characters or shell metacharacters in NetBIOS names
  • Unexpected child processes spawned by Samba processes (smbd, nmbd, or related daemons)
  • Suspicious command execution patterns originating from the Samba service account
  • Anomalous network connections initiated by Samba processes to external addresses

Detection Strategies

  • Monitor WINS registration traffic for NetBIOS names containing shell metacharacters such as ;, |, $(), backticks, or &&
  • Implement process monitoring to detect unexpected command execution by Samba daemon processes
  • Deploy network-based intrusion detection signatures to identify malformed or suspicious WINS packets
  • Review Samba logs for registration attempts with unusual or malformed NetBIOS names

Monitoring Recommendations

  • Enable verbose logging for Samba WINS services to capture detailed registration information
  • Implement endpoint detection and response (EDR) monitoring on systems running Samba AD Domain Controllers
  • Configure network monitoring to alert on anomalous NetBIOS Name Service (NBNS) traffic patterns
  • Establish baseline behavior for Samba processes and alert on deviations

How to Mitigate CVE-2025-10230

Immediate Actions Required

  • Review and apply security patches from Samba when available by consulting the Samba Security History
  • If WINS hook functionality is not required, disable it in the Samba configuration
  • Implement network segmentation to limit exposure of Samba services to trusted networks only
  • Monitor systems for signs of exploitation using the detection methods outlined above
  • Review the Red Hat CVE Advisory for distribution-specific guidance

Patch Information

Consult the Samba Security History page for official patches and updated versions addressing this vulnerability. Additional details may be found in the Red Hat Bug Report for Red Hat-based distributions.

Workarounds

  • Disable the WINS hook in the Samba configuration file (smb.conf) if this functionality is not required for operations
  • Restrict network access to Samba WINS services using firewall rules, limiting connections to trusted IP addresses only
  • Implement network-level filtering to block WINS registration packets containing suspicious characters
  • Consider deploying a Web Application Firewall (WAF) or network IDS with custom rules to detect and block exploitation attempts
bash
# Disable WINS hook in smb.conf
# Add or modify the following in /etc/samba/smb.conf
[global]
    wins hook = 
    # Alternatively, ensure wins support is disabled if not needed
    wins support = no

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSamba

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.40%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Red Hat CVE Advisory

  • Red Hat Bug Report

  • Samba Security History

  • Vicarius Detection Guide

  • Vicarius Mitigation Guide
  • Related CVEs
  • CVE-2021-44142: Samba vfs_fruit Module RCE Vulnerability

  • CVE-2022-29154: Samba Rsync RCE Vulnerability

  • CVE-2025-0620: Samba Authentication Bypass Vulnerability

  • CVE-2024-12087: Samba Rsync Path Traversal 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