{"id":"CVE-2025-10230","aliases":["CVE-2025-10230"],"related":[],"kind":"vulnerability","state":"published","title":"Samba: command injection in wins server hook script","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en Samba, en el manejo del hook WINS de interfaz: los nombres NetBIOS de los paquetes de registro se pasan a un shell sin la validación o el escape adecuados. Los datos de nombres NetBIOS no saneados de los paquetes de registro WINS se insertan en un comando de shell y son ejecutados por el hook WINS del Controlador de Dominio de Active Directory de Samba, permitiendo a un atacante de red no autenticado lograr la ejecución remota de comandos como el proceso de Samba.","source":"nvd"}],"published":"2025-11-07T19:42:06.624Z","modified":"2026-11-23T15:17:15.500Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.21.9","status":"affected"},{"type":"semver","introduced":"4.22.0","fixed":"4.21.5","status":"affected"},{"type":"semver","introduced":"4.23.0","fixed":"4.23.2","status":"affected"}],"package":"samba","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"samba","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"samba4","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"samba","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-8","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-10230","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2394377","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://www.samba.org/samba/history/security.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-10230-detect-samba-vulnerability","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-10230-mitigate-samba-vulnerability","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-11-08T04:55:22.583Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-10230","url":"https://www.cve.org/CVERecord?id=CVE-2025-10230","licence":"CVE Terms of Use","modified":"2026-11-23T14:14:58.795Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-10230","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10230","licence":"Public domain","modified":"2026-11-23T15:17:15.500Z"}],"updatedAt":"2026-11-25T22:59:07.354Z","epss":{"score":0.01908,"percentile":0.80383,"date":"2026-11-30T12:00:22.000Z"}}