CVE-2026-2340: Samba Vulnerability

CVE-2026-2340

NVDCVSS scored by secalert@redhat.com

Vulnerability Summary

A flaw was found in Samba’s vfs_worm module. The module is intended to provide write-once, read-many (WORM) protections by preventing modification of files after a configurable grace period. Due to insufficient validation during rename operations, an authenticated user with write access to a share could overwrite a protected file by renaming a newly created file over the existing WORM-protected file.
Severity Level
MEDIUM(6.5)
Published Date
May 27, 2026
Last Modified
Nov 26, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.64%Probability
Root Weakness (CWE)
The product does not handle or incorrectly handles when it has insufficient privileges to access resources or functionality as specified by their permissions.
CVSS v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Samba >= 4.20.0 and < 4.22.10
  • Samba >= 4.23.0 and < 4.23.8
  • Samba >= 4.24.0 and < 4.24.3
  • Redhat Openshift Container Platform >= 4.12 and < 4.12.97
  • Redhat Openshift Container Platform >= 4.13 and < 4.13.71
  • Redhat Openshift Container Platform >= 4.14 and < 4.14.72
  • Redhat Openshift Container Platform >= 4.15 and < 4.15.68
  • Redhat Openshift Container Platform >= 4.16 and < 4.16.69
  • Redhat Openshift Container Platform >= 4.17 and < 4.17.57
  • Redhat Openshift Container Platform >= 4.18 and < 4.18.54
  • Redhat Openshift Container Platform >= 4.19 and < 4.19.36
  • Redhat Enterprise Linux
Patched Versions
  • Samba 4.22.10
  • Samba 4.23.8
  • Samba 4.24.3
  • Redhat Openshift Container Platform 4.12.97
  • Redhat Openshift Container Platform 4.13.71
  • Redhat Openshift Container Platform 4.14.72
  • Redhat Openshift Container Platform 4.15.68
  • Redhat Openshift Container Platform 4.16.69
  • Redhat Openshift Container Platform 4.17.57
  • Redhat Openshift Container Platform 4.18.54
  • Redhat Openshift Container Platform 4.19.36

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Samba and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • May 27, 2026Published
  • Nov 26, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Samba CVEsYou are reading CVE-2026-2340. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

External References

Data last checked: Nov 30, 2026 08:12 UTC