CVE-2026-4408
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.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Ask about this evidenceTimeline
- Published by NVD
- Last updated by NVD
Affected products
| Product | Versions |
|---|---|
Redhat Enterprise LinuxComponent identitycpe:2.3:o:redhat:enterprise_linux | exactly 6.0; exactly 7.0; exactly 9.0 |
Redhat Openshift Container PlatformComponent identitycpe:2.3:a:redhat:openshift_container_platform | exactly 4.0 |
Samba SambaComponent identitycpe:2.3:a:samba:samba | from 4.1.0 before 4.21.0 |
Source evidence and freshness
Lifecycle: Modified. Technical severity: CVSS 3.1 · Provider: nvd@nist.gov. Exploitation evidence and inventory applicability are separate assessments.
Source configuration conditions
Source expressions may include required platforms and alternatives. Unsupported expressions remain unresolved in the version checker.
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
"vulnerable": true,
"versionEndExcluding": "4.21.0",
"versionStartIncluding": "4.1.0"
},
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"operator": "OR"
}
]
}
]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Provider-specific scores
- secalert@redhat.com · CVSS 3.1 · 9 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - nvd@nist.gov · 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 - 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · CVSS 3.1 · 9 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Remediation by product and branch
Redhat Enterprise Linux
exactly 6.0
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
exactly 7.0
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
exactly 9.0
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
Redhat Openshift Container Platform
exactly 4.0
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
Samba Samba
from 4.1.0 before 4.21.0
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
FIRST EPSS forecast
No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.
A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits
Change history
Changes to the source evidence for this vulnerability. Retrievals that changed nothing are not listed. Email already sent is not edited afterwards.
Record changed ·
Redhat Enterprise Linux exactly 9.0 (NVD)
- Configuration prerequisites: unsupported → unconditional
Recorded entry #29466
Reason recorded: affected rule changed
{ "fields": [ { "kind": "value", "field": "configuration_state", "label": "Configuration prerequisites", "revised": "unconditional", "previous": "unsupported" } ], "rule": { "to": "9.0", "from": "9.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": true, "fixedVerified": false, "fromInclusive": true } }Record changed ·
Redhat Enterprise Linux exactly 7.0 (NVD)
- Configuration prerequisites: unsupported → unconditional
Recorded entry #29465
Reason recorded: affected rule changed
{ "fields": [ { "kind": "value", "field": "configuration_state", "label": "Configuration prerequisites", "revised": "unconditional", "previous": "unsupported" } ], "rule": { "to": "7.0", "from": "7.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": true, "fixedVerified": false, "fromInclusive": true } }Record changed ·
Redhat Enterprise Linux exactly 6.0 (NVD)
- Configuration prerequisites: unsupported → unconditional
Recorded entry #29464
Reason recorded: affected rule changed
{ "fields": [ { "kind": "value", "field": "configuration_state", "label": "Configuration prerequisites", "revised": "unconditional", "previous": "unsupported" } ], "rule": { "to": "6.0", "from": "6.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": true, "fixedVerified": false, "fromInclusive": true } }Record changed ·
Samba Samba from 4.1.0 before 4.21.0 (NVD)
- Configuration prerequisites: unsupported → unconditional
Recorded entry #29463
Reason recorded: affected rule changed
{ "fields": [ { "kind": "value", "field": "configuration_state", "label": "Configuration prerequisites", "revised": "unconditional", "previous": "unsupported" } ], "rule": { "to": "4.21.0", "from": "4.1.0", "branch": null, "source": "NVD", "fixedIn": "4.21.0", "toInclusive": false, "fixedVerified": false, "fromInclusive": true } }Record changed ·
Redhat Openshift Container Platform exactly 4.0 (NVD)
- Configuration prerequisites: unsupported → unconditional
Recorded entry #29462
Reason recorded: affected rule changed
{ "fields": [ { "kind": "value", "field": "configuration_state", "label": "Configuration prerequisites", "revised": "unconditional", "previous": "unsupported" } ], "rule": { "to": "4.0", "from": "4.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": true, "fixedVerified": false, "fromInclusive": true } }Provider-specific CVSS assessments, NVD affected-configuration data ·
- Provider-specific CVSS assessments: updated
- NVD affected-configuration data: updated NVD revised which product configurations it lists. Current data is in the affected products and source evidence above.
Recorded entry #29461
Reason recorded: source material change
{ "fields": [ { "kind": "summary", "field": "assessments", "label": "Provider-specific CVSS assessments", "revised": null, "previous": null }, { "kind": "summary", "field": "configuration_tree", "label": "NVD affected-configuration data", "revised": null, "previous": null } ] }
Sources: NVD and CISA known exploited vulnerabilities catalogue.