Skip to main content
VulnerabilityPublished Updated

CVE-2026-58222: Samba

Affects sambaSource GCVE Database

0
Authoritative record:CVE-2026-58222· High 8.8

Not known to be exploited · CVSS 8.8 High · fixed in 2:4.15.13+dfsg-0ubuntu1.13 : patch samba soon.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2:4.15.13+dfsg-0ubuntu1.13, 2:4.19.5+dfsg-4ubuntu9.7, 2:4.23.6+dfsg-1ubuntu2.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade the Ubuntu samba to 2:4.15.13+dfsg-0ubuntu1.13 (package) or 2:4.19.5+dfsg-4ubuntu9.7 (package) or 2:4.23.6+dfsg-1ubuntu2.2 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSsambapkg:deb/ubuntu/samba?arch=source&distro=resoluteOther threatsAffected
  • <2:4.23.6+dfsg-1ubuntu2.2
Fixed in
  • 2:4.23.6+dfsg-1ubuntu2.2
Ubuntu 24.04 LTSsambapkg:deb/ubuntu/samba?arch=source&distro=nobleOther threatsAffected
  • <2:4.19.5+dfsg-4ubuntu9.7
Fixed in
  • 2:4.19.5+dfsg-4ubuntu9.7
Ubuntu 22.04 LTSsambapkg:deb/ubuntu/samba?arch=source&distro=jammyOther threatsAffected
  • <2:4.15.13+dfsg-0ubuntu1.13
Fixed in
  • 2:4.15.13+dfsg-0ubuntu1.13
Ubuntu Pro 20.04 LTSsambapkg:deb/ubuntu/samba?arch=source&distro=esm-infra/focalOther threatsAffected
  • 2:4.10.7+dfsg-0ubuntu2 – 2:4.15.13+dfsg-0ubuntu0.20.04.8+esm2
37 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSsambapkg:deb/ubuntu/samba?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 2:4.6.7+dfsg-1ubuntu3 – 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm3
32 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSsambapkg:deb/ubuntu/samba?arch=source&distro=esm-infra/xenialOther threatsAffected
  • 2:4.1.17+dfsg-4ubuntu2 – 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm4
46 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

A security flaw combining LDAP filter injection and improper authorization checks was found in Samba Active Directory Domain Controller (AD DC). When processing LDAP Compare requests, Samba fails to properly validate user-supplied attribute names and executes the resulting internal database search in a trusted context, bypassing normal Access Control List (ACL) enforcement. An authenticated low-privilege domain user can exploit these flaws to disclose confidential Active Directory attributes that would normally be inaccessible. The disclosed information may be leveraged to derive sensitive authentication material, potentially leading to privilege escalation and complete domain compromise. For example: In deployments configured with Group Managed Service Accounts (gMSAs), an attacker can extract the "msKds-RootKeyData" attribute and derive gMSA passwords offline, potentially leading to complete domain compromise if privileged gMSAs are present.

References

Community reviews

Loading reviews…