CVE-2026-4408
A flaw was found in Samba. A remote attacker can exploit a …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- access.redhat.com/security/cve/CVE-2026-4408
- bugzilla.redhat.com/show_bug.cgi?id=2479762
- bugzilla.samba.org/show_bug.cgi?id=16034
- access.redhat.com/errata/RHSA-2026:22644
- access.redhat.com/errata/RHSA-2026:22963
- access.redhat.com/errata/RHSA-2026:25049
- access.redhat.com/errata/RHSA-2026:25979
- access.redhat.com/errata/RHSA-2026:28054
- nvd.nist.gov/vuln/detail/CVE-2026-4408
- cve.org/CVERecord?id=CVE-2026-4408
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.