Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed SMB service
-
DeliverySend crafted SMB request with shell metacharacters
-
ExploitTrigger OS command injection in helper
-
ExecutionExecute commands as Samba service user
-
PersistEstablish reverse shell and persist
-
ImpactPivot to domain/credential theft
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Based on the supplied CVSS vector (AV:N/AC:L/PR:N/UI:N), exploitation requires only network reachability to the Samba service (typically TCP 445, also 139) with no authentication and no user interaction against default Samba deployments on Alpine, RHEL 6/7/9, and OpenShift Container Platform 4.0. Limiting factors that materially reduce real-world exposure: Samba is usually firewalled off from the internet, many production deployments require SMB authentication before reaching vulnerable code paths, and CWE-78 flaws in Samba have historically been gated on specific server-side features (printing integration, |
| Impact | Signals are mixed and require honest interpretation. The CVSS 9.8 vector (AV:N/AC:L/PR:N/UI:N, full CIA impact) and Samba's typical exposure on TCP/445 argue for treating this as high priority, especially because OS command injection on a file/auth server gives an attacker code execution as the Samba service account (often root or a high-privilege user). However, EPSS is only 0.23% at the 46th percentile, this CVE is NOT listed in CISA KEV, and no public exploit identified at time of analysis, indicating the vulnerability is not currently seeing mass exploitation. The Alpine-style description ('samba fixed in 4.23.8-r0') is unusually thin and contains no technical detail about the precise vulnerable code path, so the AV:N rating cannot be independently corroborated from the description alone - it is plausible that exploitation actually requires authenticated SMB access or a non-default configuration (e.g., a specific VFS or print hook), in which case real-world risk is lower than 9.8 suggests. Defenders should verify the exact vulnerable component via the Red Hat (Bugzilla 2479762) and Samba (Bugzilla 16034) advisories before deprioritizing. |
| Exploit ScenarioDerived | An attacker with network reachability to TCP/445 on a vulnerable Samba server sends a crafted SMB request containing shell metacharacters in a field that Samba passes to a shell-invoking helper, causing the smbd process to execute attacker-supplied commands as the Samba service account. From there the attacker drops a reverse shell, harvests credentials and Kerberos tickets, and pivots into the Active Directory or Linux fleet. No public PoC is identified in the supplied data, so realistic short-term exploitation likely requires the attacker to first reproduce the bug from the Red Hat/Samba Bugzilla entries. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jun 15, 2026
Command injection in Samba (CWE-78) carries a critical CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) and is fixed in Alpine Linux package samba 4.23.8-r0, with Red Hat shipping errata RHSA-2026:22644, 22963, 25049, and 25979 for Enterprise Linux 6/7/9 and OpenShift Container Platform 4.0. The flaw allows remote attackers to inject operating-system commands against vulnerable Samba deployments, yielding full confidentiality, integrity, and availability impact. EPSS is modest at 0.23% (46th percentile) and no public exploit identified at time of analysis, but the unauthenticated network attack surface of Samba makes urgent patching warranted.
Earlier versions of this analysis (4)
Command injection in Samba (CWE-78) allows remote unauthenticated attackers to execute arbitrary OS commands against affected installations, with CVSS 9.8 reflecting full confidentiality, integrity, and availability impact. The flaw affects Samba across multiple Linux distributions including Alpine Linux (fixed in 4.23.8-r0), Red Hat Enterprise Linux 6/7/9, and OpenShift Container Platform 4.0. There is no public exploit identified at time of analysis, and EPSS sits at a modest 0.23% (46th percentile) despite the critical CVSS score.
OS command injection in Samba (CWE-78) on Alpine Linux affects releases prior to 4.23.8-r0, enabling remote attackers without credentials to inject operating system commands that execute with the privileges of the Samba service. The CVSS 9.0 rating reflects a scope-changed impact with full compromise of confidentiality, integrity, and availability, though attack complexity is rated High (AC:H), indicating non-trivial preconditions. No public exploit identified at time of analysis, and the issue is not currently listed in CISA KEV.
Command injection in Samba (Alpine Linux package prior to 4.23.8-r0) allows remote unauthenticated attackers to execute arbitrary OS commands on affected file/print servers, with a CVSS 9.0 (scope-changed) rating reflecting cross-component impact. No public exploit identified at time of analysis, but the network-reachable, no-auth vector and CWE-78 root cause make this a high-priority patch for any Linux host exposing SMB/CIFS or related Samba services.
Samba on Alpine Linux received a security fix packaged as version 4.23.8-r0 in the Alpine Linux repositories. The specific vulnerability class, attack vector, and impact are not disclosed in available intelligence - only the fix packaging is confirmed. No CVSS score, CWE classification, or exploitation data is present, making independent severity assessment impossible from current data alone.
RemediationAI
On Alpine Linux, upgrade the samba package to 4.23.8-r0 or later via apk; on Red Hat Enterprise Linux 6, 7, and 9 and OpenShift Container Platform 4.0, apply the vendor-released patches from RHSA-2026:22644, RHSA-2026:22963, RHSA-2026:25049, and RHSA-2026:25979 (linked from https://access.redhat.com/security/cve/CVE-2026-4408), and on other distributions install the patched upstream Samba build referenced in Samba Bugzilla 16034. If immediate patching is not possible, restrict access to Samba's network ports (TCP 139/445 and UDP 137/138) to trusted management networks via host or perimeter firewalls - this breaks SMB client access from untrusted segments. As an additional compensating control, audit and disable any Samba features that invoke external shell scripts (for example printing = cups/print command, magic script, root preexec/preexec, and custom VFS modules that shell out), accepting that printing or login-script automation tied to these settings will stop working until the host is patched.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Samba is the open-source SMB/CIFS file, print, and authentication server widely deployed on Linux/Unix systems and embedded in Red Hat Enterprise Linux 6/7/9 and OpenShift Container Platform 4.0 (per the listed CPEs). CWE-78 (Improper Neutralization of Special Elements used in an OS Command) means user-supplied or network-supplied input is concatenated into a command interpreter (typically /bin/sh via system(), popen(), exec*() with a shell, or wrapper scripts) without proper escaping, letting metacharacters such as ;, |, backticks, or $() break out into attacker-controlled shell execution. In a Samba context this class of bug has historically appeared in helper scripts and external auxiliary modules (printing/scripting hooks, VFS modules, name resolution helpers) invoked by smbd/winbindd, which is consistent with the network attack vector reflected in CVSS.
Know when Samba gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Samba command-injection flaws historically require an authenticated SMB session to reach vulnerable helpers, so PR:L over PR:N; network reachable, low complexity, full CIA impact as smbd typically runs privileged.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
Alpine Linux: samba fixed in 4.23.8-r0
Executive ViewAI
Samba file sharing infrastructure is vulnerable to unauthenticated remote command injection (CVE-2026-4408, CVSS 9.8), enabling attackers to execute arbitrary commands with full system access. No public exploit code is currently identified, but the critical severity, universal organizational deployment, and open network attack surface create severe risk to data confidentiality and system availability.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)NVD
Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo
The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement valida
The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1
The MS-SAMR and MS-LSAD protocol implementations in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x befor
Integer overflow in the read_nttrans_ea_list function in nttrans.c in smbd in Samba 3.x before 3.5.22, 3.6.x before 3.6.
NetBIOS name services daemon (nmbd) in Samba 4.0.x before 4.0.21 and 4.1.x before 4.1.11 allows remote attackers to exec
An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. Rated high severity (CVSS 7.5), th
A Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. Rated medium severity (CVSS 5.3),
Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing service on the BlackBerry Play
The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure successful
Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to c
Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute arbitrary code via a crafted S
EUVD-2026-32741
GHSA-jg8v-92xc-cx65
NVD
CVE.org
EPSS
VulDB
Exploit-DB