Skip to main content
Public proof of conceptFix available

CVE-2025-10230

Samba: command injection in wins server hook script

A public proof of concept exists; no exploitation attested.

  • Published2025-11-07
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-11-0719:42CVE publishedCNA
  2. 2025-11-0720:15CVE publishedNVD

Versions per branch

Products declared by the CNA9 products

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

3 more products in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-04

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • sambaUbuntu:Pro:20.04:LTSall versions · fixed in 2:4.15.13+dfsg-0ubuntu0.20.04.8+esm1
  • sambaUbuntu:Pro:18.04:LTSall versions · fixed in 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm3
  • sambaUbuntu:Pro:16.04:LTSall versions · fixed in 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm4
  • sambaUbuntu:Pro:14.04:LTSall versions · fixed in 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm15
  • sambaUbuntu:25.10all versions · fixed in 2:4.22.3+dfsg-4ubuntu2.1
  • sambaUbuntu:24.04:LTSall versions · fixed in 2:4.19.5+dfsg-4ubuntu9.4
  • sambaUbuntu:22.04:LTSall versions · fixed in 2:4.15.13+dfsg-0ubuntu1.10
  • sambaTuxCare:Ubuntu:20.04all versions · fixed in 2:4.15.13+dfsg-0ubuntu0.20.04.8+tuxcare.els1and 18 other packages

52 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-10230 Red Hat Product Security

    samba: Command Injection in WINS Server Hook Script

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2025-11-07
Last Modified
2026-11-04
NVD status
Deferred
GitHub Advisory
GHSA-88qg-f543-x242

Frequently asked questions

What is CVE-2025-10230?

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.

Is CVE-2025-10230 actively exploited?

A proof-of-concept exploit exists for CVE-2025-10230, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-10230?

CVE-2025-10230 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running samba? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record