
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-120377 is an LDAP filter injection vulnerability affecting Samba's legacy pdb_ldap backend. The flaw allows attackers to inject malicious LDAP filter expressions through the affected backend, potentially manipulating directory queries. Modern Samba deployments using Active Directory are not affected — only installations relying on the legacy pdb_ldap passdb backend are at risk. The CVE is currently in "Reserved" status with an estimated HIGH severity (Feedly). Fixed versions include Samba 4.25.2 and 4.24.9 (Warp2Search, LinuxCompatible).
The root cause is insufficient sanitization of user-controlled input passed to LDAP filter construction within Samba's legacy pdb_ldap passdb backend (CWE-90: Improper Neutralization of Special Elements used in an LDAP Query). An attacker who can influence authentication or user lookup requests may inject crafted LDAP filter syntax, potentially altering the logic of directory queries executed against the backend LDAP server. Exploitation requires that the target Samba installation is configured to use the pdb_ldap backend rather than the default Active Directory or tdbsam backends (Feedly, Warp2Search).
Successful exploitation could allow an attacker to manipulate LDAP queries executed by Samba, potentially bypassing authentication checks, enumerating directory objects beyond their authorization, or accessing sensitive user and group information stored in the LDAP backend. The impact is limited to Samba deployments using the legacy pdb_ldap backend; modern Active Directory-integrated Samba deployments are unaffected. Depending on the LDAP directory's contents and permissions, exploitation could expose credentials, group memberships, or other sensitive organizational data (Feedly).
No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported as of the available data. The CVE remains in "Reserved" status, and no CISA KEV listing or threat actor attribution has been identified. Exploitability is constrained by the requirement that the target must be running the legacy pdb_ldap backend, which significantly limits the attack surface to older or non-standard Samba configurations (Feedly). Tenable has published a Nessus detection plugin (ID 390005) for this vulnerability (Tenable).
Samba has released patches addressing CVE-2026-120377 in versions 4.25.2 and 4.24.9 (the final 4.24.x update). Administrators should upgrade to one of these patched releases as the primary remediation (Warp2Search, LinuxCompatible). As a workaround, organizations not requiring the legacy pdb_ldap backend should migrate to a supported passdb backend (e.g., tdbsam or Active Directory) to eliminate the attack surface entirely. Deployments already using modern Active Directory integration are not affected and require no action.
Coverage has been limited to Linux-focused news aggregators and Tenable's plugin release, reflecting the narrow scope of affected deployments. No significant vendor statements beyond the patch release or notable researcher commentary have been identified (Warp2Search, Tenable).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."