{
  "threat_severity" : "Important",
  "public_date" : "2026-05-26T00:00:00Z",
  "bugzilla" : {
    "description" : "samba: Remote Code Execution in SAMR",
    "id" : "2479762",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2479762"
  },
  "cvss3" : {
    "cvss3_base_score" : "9.0",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-78",
  "details" : [ "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.", "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." ],
  "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.",
  "acknowledgement" : "Red Hat would like to thank John Walker (ZeroPath) and Ron Ben Yizhak (SafeBreach) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "release_date" : "2026-06-03T00:00:00Z",
    "advisory" : "RHSA-2026:22963",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10.2",
    "package" : "samba-0:4.23.5-109.el10_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 10.0 Extended Update Support",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28055",
    "cpe" : "cpe:/o:redhat:enterprise_linux_eus:10.0",
    "package" : "samba-0:4.21.3-114.el10_0.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28132",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "samba-0:4.10.16-26.el7_9.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28132",
    "cpe" : "cpe:/o:redhat:rhel_els:7",
    "package" : "samba-0:4.10.16-26.el7_9.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2026-06-03T00:00:00Z",
    "advisory" : "RHSA-2026:22644",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "samba-0:4.19.4-16.el8_10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2026-06-03T00:00:00Z",
    "advisory" : "RHSA-2026:22644",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "samba-0:4.19.4-16.el8_10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28058",
    "cpe" : "cpe:/o:redhat:rhel_aus:8.4",
    "package" : "samba-0:4.13.3-12.el8_4.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28058",
    "cpe" : "cpe:/o:redhat:rhel_eus_long_life:8.4",
    "package" : "samba-0:4.13.3-12.el8_4.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28057",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.6",
    "package" : "samba-0:4.15.5-16.el8_6.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28057",
    "cpe" : "cpe:/a:redhat:rhel_eus_long_life:8.6",
    "package" : "samba-0:4.15.5-16.el8_6.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28056",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.8",
    "package" : "samba-0:4.17.5-7.el8_8.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28056",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.8",
    "package" : "samba-0:4.17.5-7.el8_8.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2026-06-10T00:00:00Z",
    "advisory" : "RHSA-2026:25049",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "samba-0:4.23.5-10.el9_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2026-06-10T00:00:00Z",
    "advisory" : "RHSA-2026:25049",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "samba-0:4.23.5-10.el9_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28054",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.2",
    "package" : "samba-0:4.17.5-105.el9_2.5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
    "release_date" : "2026-06-23T00:00:00Z",
    "advisory" : "RHSA-2026:28053",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.4",
    "package" : "samba-0:4.19.4-105.el9_4.4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.6 Extended Update Support",
    "release_date" : "2026-06-15T00:00:00Z",
    "advisory" : "RHSA-2026:25979",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.6",
    "package" : "samba-0:4.21.3-14.el9_6.1"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.19",
    "release_date" : "2026-07-02T00:00:00Z",
    "advisory" : "RHSA-2026:29863",
    "cpe" : "cpe:/a:redhat:openshift:4.19::el9",
    "package" : "rhcos-4.19.9.6.202606241344-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.20",
    "release_date" : "2026-06-30T00:00:00Z",
    "advisory" : "RHSA-2026:29799",
    "cpe" : "cpe:/a:redhat:openshift:4.20::el9",
    "package" : "rhcos-4.20.9.6.202606241928-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.21",
    "release_date" : "2026-06-30T00:00:00Z",
    "advisory" : "RHSA-2026:29833",
    "cpe" : "cpe:/a:redhat:openshift:4.21::el9",
    "package" : "rhcos-4.21.9.6.202606241859-0"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "samba",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "samba4",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-4408\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-4408\nhttps://bugzilla.samba.org/show_bug.cgi?id=16034" ],
  "name" : "CVE-2026-4408",
  "mitigation" : {
    "value" : "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.",
    "lang" : "en:us"
  },
  "csaw" : false
}