ALPINE-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.
ALPINE-CVE-2026-4408
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:ALPINE-CVE-2026-4408
samba
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 4.22.10-r0
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
samba
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 4.23.8-r0
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.22.10-r0"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:apk/alpine/samba?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-4408.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.23.8-r0"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:apk/alpine/samba?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-4408.json"
},
"ecosystem_specific": {}
}
]Publisher severity
No explicit severity was provided.
- Event
- #54418 · Revision 1
- Added to Heist Feed
- Publisher date