CVE-2025-10230 Details
Description
A flaw was found in Samba, in the front-end WINS hook handling: NetBIOS names from registration packets are passed to a shell without proper validation or escaping. Unsanitized NetBIOS name data from WINS registration packets are inserted into a shell command and executed by the Samba Active Directory Domain Controller’s wins hook, allowing an unauthenticated network attacker to achieve remote command execution as the Samba process.
A command injection vulnerability has been identified in Samba's WINS hook handling on Active Directory Domain Controllers. Unsanitized NetBIOS names from WINS registration packets are passed to a shell command and executed, enabling an unauthenticated network attacker to execute arbitrary commands with the privileges of the Samba process, often as root on a domain controller.
Users can upgrade to Samba versions 4.23.2, 4.22.5, or 4.21.9, all of which include the necessary fix. Instructions for applying the patch can be found in the Samba security release announcements.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 7, 2025CISA-ADP
Assessed Nov 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.vicarius.io/vsociety/posts/cve-2025-10230-detect-samba-vulnerability | CVE | |
| https://www.vicarius.io/vsociety/posts/cve-2025-10230-mitigate-samba-vulnerability | CVE | |
| https://access.redhat.com/security/cve/CVE-2025-10230 | [email protected] | AdvisoryRemedyVendor |
| https://bugzilla.redhat.com/show_bug.cgi?id=2394377 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://www.samba.org/samba/history/security.html | [email protected] | BundleRelease NotesVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Modified | [email protected] |
| Oct 18, 2026 | CVE Translated | [email protected] |
| Aug 31, 2026 | CVE Modified | CVE |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 21, 2026 | CVE Modified | [email protected] |
| Jun 29, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Dec 3, 2025 | CVE Modified | CVE |
| Nov 7, 2025 | New CVE Received | [email protected] |
Volerion