{"id":"CVE-2025-10230","published":"2025-11-07T19:42:06Z","modified":"2026-11-23T14:14:58Z","title":"Samba: command injection in wins server hook script","vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.42228,"percentile":0.98718,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-10230","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2394377","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://www.samba.org/samba/history/security.html","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-10230-detect-samba-vulnerability","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-10230-mitigate-samba-vulnerability","tags":[]}],"priority":{"score":31.7,"factors":[{"name":"EPSS percentile","points":19.74},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2025-10-19","earliestUrl":"https://github.com/dptsec/CVE-2025-10230","repos":[{"name":"dptsec/CVE-2025-10230","url":"https://github.com/dptsec/CVE-2025-10230","stars":6,"created":"2025-10-19"},{"name":"nehkark/CVE-2025-10230","url":"https://github.com/nehkark/CVE-2025-10230","stars":1,"created":"2025-11-23"},{"name":"marcostolosa/CVE-2025-10230","url":"https://github.com/marcostolosa/CVE-2025-10230","stars":0,"created":"2025-11-26"}]},"first":{"date":"2025-10-19","source":"PoC-in-GitHub","url":"https://github.com/dptsec/CVE-2025-10230"},"provenance":"source"},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 4.21.9",">= 4.22.0, < 4.21.5",">= 4.23.0, < 4.23.2"]}],"workarounds":{"items":["No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-11-08T04:55:22.583378Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A flaw in Samba's front-end WINS hook handling, affecting the Samba Active Directory Domain Controller's wins hook on Red Hat Enterprise Linux 10, passes NetBIOS names from WINS registration packets to a shell without validation or escaping. An unauthenticated attacker with network access can inject shell commands through crafted NetBIOS names, achieving remote command execution as the Samba process, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:17:18Z"},"euvd":{"id":"EUVD-2025-38301","exploited":false,"provenance":"source"}}