VDB

CVE-2025-10230

CVE-2025-10230 PUBLISHED CVSS 10 CRITICAL

Samba: command injection in wins server hook script

Reported by redhat · Published November 7, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
sambawww.samba.org4.23.2, 4.21.9, 4.21.5
sambaAlpine4.21.9-r0

Risk scores

CVSS 3.1
10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
0, 4.22.0, 4.23.0
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 6
0, 4.23.0, 4.22.0
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 10

Timeline

  • Oct 15, 2025 PoC Published (50 in total, the first dated here)
  • Oct 15, 2025 CVE Published
  • Nov 7, 2025 Coalition ESS Score (2 in total, the first dated here)
  • Nov 8, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 25, 2025 CVE Updated
  • Jun 2, 2026 Security Advisory (10 in total, the first dated here)
  • Oct 4, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-10230
vulnetix vdb fixes CVE-2025-10230

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-10230/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›