# CVE-2025-10230: Samba: command injection in wins server hook script

- Severity: Critical 10.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.91%, higher than 80% of CVEs (2026-11-30)
- Published: 2025-11-07T19:42:06.624Z
- Modified: 2026-11-23T15:17:15.500Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- samba: before 4.21.9; from 4.22.0 before 4.21.5; from 4.23.0 before 4.23.2
- samba4: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2025-10230> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2394377> (issue-tracking)
- <https://www.samba.org/samba/history/security.html>
- <https://www.vicarius.io/vsociety/posts/cve-2025-10230-detect-samba-vulnerability>
- <https://www.vicarius.io/vsociety/posts/cve-2025-10230-mitigate-samba-vulnerability>

## Sources

- CVE List: [CVE-2025-10230](https://www.cve.org/CVERecord?id=CVE-2025-10230), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2025-10230](https://nvd.nist.gov/vuln/detail/CVE-2025-10230), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2025-10230 · Whole record: https://cve.day/CVE-2025-10230.json · Rebuilt by cve.day 2026-11-25T22:59:07.354Z
