Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2025-10230
Samba vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2025-10230) was discovered in Samba's WINS server hook script handling. The vulnerability affects all versions of Samba since 4.0 where the WINS server is enabled on a domain controller with the 'wins hook' parameter set. This flaw allows unauthenticated remote code execution through command injection (Samba Security, Debian Tracker).

Technical details

The vulnerability stems from improper validation of NetBIOS names in WINS registration packets. When these names are passed to the wins hook program by the Samba Active Directory Domain Controller, they are inserted into a shell command string without proper validation or escaping. Since WINS is an obsolete and trusting protocol, clients can request any name within the 15-character NetBIOS limit, including shell metacharacters, enabling arbitrary command execution. The vulnerability has received a CVSS v3.1 score of 10.0 (Critical) with the vector string AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H (Samba Security, NVD).

Impact

If exploited, this vulnerability allows an unauthenticated network attacker to achieve remote command execution with the privileges of the Samba process on affected systems. The impact is particularly severe as it requires no authentication and can be exploited remotely, potentially leading to complete system compromise (Ubuntu Security, Debian Tracker).

Exploitability

The vulnerability is exploitable when a Samba server has both WINS support enabled (off by default) and a 'wins hook' parameter specified. The WINS server used by Samba when it is not a domain controller is unaffected. According to Samba developers, this is an unusual configuration that will affect very few, possibly zero, users (Samba Security).

Mitigation and workarounds

Several mitigation options are available: 1) Avoid setting the 'wins hook' parameter in the smb.conf of a Samba AD Domain Controller, 2) Ensure 'wins support' is set to 'no' (the default value), or 3) Upgrade to the patched versions (Samba 4.23.2, 4.22.5, or 4.21.9). Setting an explicitly empty value for 'wins hook' is also safe. The 'wins hook' parameter is unlikely to be useful on a domain controller and may not be supported in future Samba releases (Samba Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

samba: 2:4.17.12+dfsg-0+deb12u3

Fixed

sid

samba: 2:4.23.2+dfsg-1

Fixed

trixie

samba: 2:4.22.6+dfsg-0+deb13u1

Fixed

RHEL / CentOS

Affected

OpenShift

Not Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Alpine

Fixed

edge

samba: 4.21.9-r0

Fixed

v3.22

samba: 4.21.9-r0

Fixed

v3.23

samba: 4.21.9-r0

Fixed

SourceThis report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75803CRITICAL9.1
  • Ruby logoRuby
  • keylime-agent-rust-common
NoYesAug 21, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • samba-debugsource
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • freeipa-server
NoYesAug 20, 2026
CVE-2026-73199MEDIUM6.5
  • Samba logoSamba
  • python3-ipalib
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-winbind
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management