Skip to main content
← All vulnerabilities
CVE-2025-10230

Samba: command injection in wins server hook script

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.21.9, 4.21.5, 4.23.2
3 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • samba

    fixed in 4.21.9; From 4.22.0 · fixed in 4.21.5; From 4.23.0 · fixed in 4.23.2

  • samba

    Version range not reported

  • samba

    Version range not reported

  • samba4

    Version range not reported

  • samba

    Version range not reported

  • samba

    Version range not reported

  • samba

    Version range not reported

  • openshift/ose-rhel-coreos-8

    Version range not reported

  • openshift/ose-rhel-coreos-9

    Version range not reported

References 6

access.redhat.com

bugzilla.redhat.com

samba.org

GitHub · dptsec/CVE-2025-10230

GitHub · marcostolosa/CVE-2025-10230

GitHub · nehkark/CVE-2025-10230