cve.bz

CVE-2026-4408 OS Command Injection

9.8 criticalEPSS 47%Fix available

Critical (9.8). EPSS 47% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
47% (up from 2.5% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:4.23.5-109.el10_2
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:4.21.3-114.el10_0.1
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:4.10.16-26.el7_9.1
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:4.19.4-16.el8_10
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:4.13.3-12.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:4.13.3-12.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:4.15.5-16.el8_6.1
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On: fixed in 0:4.15.5-16.el8_6.1
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine: fixed package versions per release
  • Vendor advisory: https://bugzilla.samba.org/show_bug.cgi?id=16034

Ask an AI about this CVE

Show the promptExplain CVE-2026-4408 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-4408?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-4408?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-4408 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-4408

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-4408](https://cve.bz/cve/badge/CVE-2026-4408.svg)](https://cve.bz/cve/CVE-2026-4408)

HTML:

<a href="https://cve.bz/cve/CVE-2026-4408"><img src="https://cve.bz/cve/badge/CVE-2026-4408.svg" alt="CVE-2026-4408"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:4.23.5-109.el10_2
Red Hat Enterprise Linux 10.0 Extended Update Support0:4.21.3-114.el10_0.1
Red Hat Enterprise Linux 7 Extended Lifecycle Support0:4.10.16-26.el7_9.1
Red Hat Enterprise Linux 80:4.19.4-16.el8_10
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:4.13.3-12.el8_4.1
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:4.13.3-12.el8_4.1
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:4.15.5-16.el8_6.1
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:4.15.5-16.el8_6.1
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:4.17.5-7.el8_8.1
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:4.17.5-7.el8_8.1
Red Hat Enterprise Linux 90:4.23.5-10.el9_8
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:4.17.5-105.el9_2.5
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:4.19.4-105.el9_4.4
Red Hat Enterprise Linux 9.6 Extended Update Support0:4.21.3-14.el9_6.1
Red Hat OpenShift Container Platform 4.12412.86.202608241157-0
Red Hat OpenShift Container Platform 4.13413.92.202609080414-0
Red Hat OpenShift Container Platform 4.14414.92.202608172040-0
Red Hat OpenShift Container Platform 4.15415.92.202608180329-0
Red Hat OpenShift Container Platform 4.16416.94.202608150307-0
Red Hat OpenShift Container Platform 4.17417.94.202608250221-0
Red Hat OpenShift Container Platform 4.18418.94.202608142238-0
Red Hat OpenShift Container Platform 4.194.19.9.6.202606241344-0
Red Hat OpenShift Container Platform 4.204.20.9.6.202606241928-0
Red Hat OpenShift Container Platform 4.214.21.9.6.202606241859-0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12samba2:4.17.12+dfsg-0+deb12u4DEBIAN-CVE-2026-4408
Debian13samba2:4.22.8+dfsg-0+deb13u2DEBIAN-CVE-2026-4408
Debian14samba2:4.24.3+dfsg-1DEBIAN-CVE-2026-4408
Ubuntu22.04:LTSsamba2:4.15.13+dfsg-0ubuntu1.12UBUNTU-CVE-2026-4408
Ubuntu24.04:LTSsamba2:4.19.5+dfsg-4ubuntu9.6UBUNTU-CVE-2026-4408
Ubuntu25.10samba2:4.22.3+dfsg-4ubuntu2.4UBUNTU-CVE-2026-4408
Ubuntu26.04:LTSsamba2:4.23.6+dfsg-1ubuntu2.1UBUNTU-CVE-2026-4408
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSsambano fix listedUBUNTU-CVE-2026-4408
UbuntuPro:20.04:LTSsamba2:4.15.13+dfsg-0ubuntu0.20.04.8+esm2UBUNTU-CVE-2026-4408 USN-8306-2
Red Hatenterprise_linux:7::serverctdb, ctdb-tests, samba-debuginfo0:4.10.16-26.el7_9.1RHSA-2026:28132
Red Hatenterprise_linux:8::appstreamctdb-debuginfo, samba-debuginfo, samba-debugsource and 23 more0:4.19.4-16.el8_10RHSA-2026:22644
Red Hatenterprise_linux:8::baseosctdb, samba, libnetapi and 50 more0:4.19.4-16.el8_10RHSA-2026:22644
Red Hatenterprise_linux:8::crbsamba-devel, ctdb-debuginfo, libnetapi-devel and 27 more0:4.19.4-16.el8_10RHSA-2026:22644
Red Hatenterprise_linux:9::appstreamsamba-client, samba-winexe, ctdb-debuginfo and 32 more0:4.23.5-10.el9_8RHSA-2026:25049
Red Hatenterprise_linux:9::baseossamba, libldb, ldb-tools and 46 more0:4.23.5-10.el9_8RHSA-2026:25049
Red Hatenterprise_linux:9::crbsamba-pidl, samba-test, samba-devel and 34 more0:4.23.5-10.el9_8RHSA-2026:25049
Red Hatenterprise_linux:9::resilientstoragectdb, ctdb-debuginfo, samba-debuginfo and 26 more0:4.23.5-10.el9_8RHSA-2026:25049
Red Hatenterprise_linux:10.2samba, libldb, ldb-tools and 62 more0:4.23.5-109.el10_2RHSA-2026:22963
Red Hatenterprise_linux_eus:10.0samba, libldb, ldb-tools and 62 more0:4.21.3-114.el10_0.1RHSA-2026:28055
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosctdb, samba, ctdb-tests and 40 more0:4.13.3-12.el8_4.1RHSA-2026:28058
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamctdb-debuginfo, samba-debuginfo, samba-debugsource and 18 more0:4.15.5-16.el8_6.1RHSA-2026:28057
14 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0samba4.22.11+git.552.66cfeb7de0a-160000.1.1SUSE-SU-2026:23129-1 SUSE-SU-2026:23152-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0samba4.22.9+git.506.22c03ce0781-160000.1.1SUSE-SU-2026:22080-1
SUSELinux Micro 6.2samba4.22.11+git.552.66cfeb7de0a-160000.1.1SUSE-SU-2026:23003-1
SUSELinux Micro 6.2samba4.22.9+git.506.22c03ce0781-160000.1.1SUSE-SU-2026:22045-1
openSUSELeap 16.0samba4.22.11+git.552.66cfeb7de0a-160000.1.1openSUSE-SU-2026:21540-1
openSUSELeap 16.0samba4.22.9+git.506.22c03ce0781-160000.1.1openSUSE-SU-2026:20905-1
openSUSETumbleweedsamba4.23.8+git.477.f78166bceed-1.1openSUSE-SU-2026:10884-1
AlmaLinux8ctdb, samba, libnetapi and 31 more4.19.4-16.el8_10ALSA-2026:22644
AlmaLinux9samba, libldb, ldb-tools and 34 more4.23.5-10.el9_8ALSA-2026:25049
AlmaLinux10samba, libldb, ldb-tools and 34 more4.23.5-109.el10_2ALSA-2026:22963
Rocky Linux8samba0:4.19.4-16.el8_10RLSA-2026:22644
Rocky Linux9samba0:4.23.5-10.el9_8RLSA-2026:25049
Rocky Linux10samba0:4.23.5-109.el10_2RLSA-2026:22963
Alpinev3.23samba4.22.10-r0ALPINE-CVE-2026-4408
Alpinev3.24samba4.23.8-r0ALPINE-CVE-2026-4408
Azure Linux3sambano fix listedAZL-88883

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An Important remote code execution flaw exists in Samba file servers and classic domain controllers when configured with a 'check password script' that uses the unescaped '%u' substitution character. This vulnerability arises from a non-default configuration where the `samba-dcerpcd` service is started as a system service, allowing an attacker to execute arbitrary commands by injecting shell meta-characters into the username. Active Directory Domain Controllers are not affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10samba-0:4.23.5-109.el10_2Fixed 2026-06-03RHSA-2026:22963
Red Hat Enterprise Linux 10.0 Extended Update Supportsamba-0:4.21.3-114.el10_0.1Fixed 2026-06-23RHSA-2026:28055
Red Hat Enterprise Linux 7 Extended Lifecycle Supportsamba-0:4.10.16-26.el7_9.1Fixed 2026-06-23RHSA-2026:28132
Red Hat Enterprise Linux 8samba-0:4.19.4-16.el8_10Fixed 2026-06-03RHSA-2026:22644
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportsamba-0:4.13.3-12.el8_4.1Fixed 2026-06-23RHSA-2026:28058
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onsamba-0:4.13.3-12.el8_4.1Fixed 2026-06-23RHSA-2026:28058
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportsamba-0:4.15.5-16.el8_6.1Fixed 2026-06-23RHSA-2026:28057
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onsamba-0:4.15.5-16.el8_6.1Fixed 2026-06-23RHSA-2026:28057
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicesamba-0:4.17.5-7.el8_8.1Fixed 2026-06-23RHSA-2026:28056
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionssamba-0:4.17.5-7.el8_8.1Fixed 2026-06-23RHSA-2026:28056
Red Hat Enterprise Linux 9samba-0:4.23.5-10.el9_8Fixed 2026-06-10RHSA-2026:25049
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionssamba-0:4.17.5-105.el9_2.5Fixed 2026-06-23RHSA-2026:28054
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionssamba-0:4.19.4-105.el9_4.4Fixed 2026-06-23RHSA-2026:28053
Red Hat Enterprise Linux 9.6 Extended Update Supportsamba-0:4.21.3-14.el9_6.1Fixed 2026-06-15RHSA-2026:25979
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202608241157-0Fixed 2026-09-03RHSA-2026:59831
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202609080414-0Fixed 2026-09-17RHSA-2026:65839
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202608172040-0Fixed 2026-08-31RHSA-2026:56786
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202608180329-0Fixed 2026-08-31RHSA-2026:56911
Red Hat Enterprise Linux 6sambaOut of support scope
Red Hat Enterprise Linux 6samba4Out of support scope
6 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-4408.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

History

  1. EPSS rose to 47% (10% or more)

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON