Vulnerability DatabaseCVE-2026-120377

CVE-2026-120377: 
Samba vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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.

Community reactions

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).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Fixed

bionic (esm-infra)

samba

Unknown

devel

samba

Unknown

focal (esm-infra)

samba

Unknown

jammy

samba: 2:4.15.13+dfsg-0ubuntu1.14

Fixed

noble

samba: 2:4.19.5+dfsg-4ubuntu9.9

Fixed

resolute

samba: 2:4.23.6+dfsg-1ubuntu2.4

Fixed

trusty (esm-infra-legacy)

samba

Unknown

xenial (esm-infra-legacy)

samba

Unknown

Source: This report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-135109HIGH7.5
  • Samba logoSamba
  • samba-tools
NoNoDec 04, 2026
CVE-2026-125628HIGH7.5
  • Samba logoSamba
  • ctdb-ceph-mutex
NoYesNov 30, 2026
CVE-2026-120376MEDIUM5.9
  • Samba logoSamba
  • ldb-tools
NoNoDec 04, 2026
CVE-2026-135111MEDIUM5.9
  • Samba logoSamba
  • ctdb-pcp-pmda
NoYesDec 01, 2026
CVE-2026-120377NONEN/A
  • Samba logoSamba
  • samba
NoYesDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management