Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-2340
Published:May 27, 2026
Updated:June 11, 2026
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.
Affected Packages
https://github.com/samba-team/samba.git (GITHUB):
Affected version(s) >=samba-4.22.0 <samba-4.22.10
Fix Suggestion:
Update to version samba-4.22.10
https://github.com/samba-team/samba.git (GITHUB):
Affected version(s) >=samba-4.24.0 <samba-4.24.3
Fix Suggestion:
Update to version samba-4.24.3
https://github.com/samba-team/samba.git (GITHUB):
Affected version(s) >=samba-4.23.0 <samba-4.23.8
Fix Suggestion:
Update to version samba-4.23.8
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Handling of Insufficient Permissions or Privileges
EPSS
Base Score:
0.07