Exploit database

Vulnerability

CVE-2026-4408

Samba: remote code execution in samr

Vulnerability details

Score
9.0
Severity
critical

CVSS 3.1 · redhat

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Description

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.

CVE Program

Exploit source choices

1 source
safebreach-labs/forgottenbutnotgone
GH-871881dbfef401f9c0eff76b379cd2fcGitHubUnofficial GitHub sourcePreferred

proof-of-concept scripts for 2 unauthenticated RCEs in Samba (CVE-2026-4408 & CVE-2026-4480) and local privilege escalation in TelnetD (CVE-2026-28372)

2026-08-036 files · 12 stars