LDAP injection in Samba - CVE-2026-120377

 

LDAP injection in Samba - CVE-2026-120377

Published: December 2, 2026


Vulnerability identifier: #VU172344
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120377
CWE-ID: CWE-90
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to potentially cause deletion of an unintended account.

The vulnerability exists due to improper neutralization of LDAP filter syntax in pdb_ldap when looking up an account for deletion. A remote privileged user can supply a username that changes the filter's meaning to potentially cause an unintended account to be selected for deletion.

Only deprecated NT4 domain controller and standalone configurations are affected.


Affected software

Samba

How to mitigate CVE-2026-120377

Install security update from vendor's website.

Samba - update to 4.25.2

External References

Related Security Bulletins