CVE-2026-2340 Details
Description
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.
A vulnerability exists in the Samba VFS WORM module, which is designed to provide write-once, read-many protections by preventing file modifications after a set grace period. The issue arises from inadequate validation during rename operations, allowing an authenticated user with write access to a share to overwrite a WORM-protected file by renaming a newly created file over it. This flaw compromises the integrity of WORM-protected data on shares using the VFS WORM module with an elapsed grace period.
Users can mitigate this vulnerability by setting read-only permissions on protected files at the filesystem level or by configuring the 'worm:grace_period' option in 'smb.conf' to zero or less, which will eliminate the writable grace period. However, this may affect workflows that require multi-step file creation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-280 | Improper Handling of Insufficient Permissions or Privileges | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| samba samba | >= 4.20.0, < 4.22.10 >= 4.23.0, < 4.23.8 >= 4.24.0, < 4.24.3 |
CPE
Remediation
| |
| redhat openshift container platform | >= 4.12, < 4.12.97 >= 4.13, < 4.13.71 >= 4.14, < 4.14.72 >= 4.15, < 4.15.68 >= 4.16, < 4.16.69 >= 4.17, < 4.17.57 >= 4.18, < 4.18.54 >= 4.19, < 4.19.36 |
CPE
Remediation
| |
| redhat enterprise linux | 7.0 8.0 9.0 10.0 |
CPE
Remediation
| |
Change History
32 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 6, 2026 | Modified Analysis | [email protected] |
| Nov 5, 2026 | CVE Modified | [email protected] |
| Oct 15, 2026 | CVE Modified | [email protected] |
| Oct 14, 2026 | CVE Translated | [email protected] |
| Oct 9, 2026 | CVE Modified | [email protected] |
| Oct 1, 2026 | CVE Modified | [email protected] |
| Sep 28, 2026 | CVE Modified | [email protected] |
| Sep 17, 2026 | CVE Modified | [email protected] |
| Sep 17, 2026 | CVE Modified | [email protected] |
| Sep 17, 2026 | CVE Modified | [email protected] |
| Sep 14, 2026 | CVE Modified | [email protected] |
| Sep 10, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 26, 2026 | CVE Modified | [email protected] |
| Aug 26, 2026 | CVE Modified | [email protected] |
| Aug 21, 2026 | CVE Modified | [email protected] |
| Jul 2, 2026 | CVE Modified | [email protected] |
| Jun 23, 2026 | CVE Modified | [email protected] |
| Jun 23, 2026 | CVE Modified | [email protected] |
| Jun 23, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 15, 2026 | CVE Modified | [email protected] |
| Jun 10, 2026 | CVE Modified | [email protected] |
| Jun 4, 2026 | CVE Modified | [email protected] |
| May 28, 2026 | Initial Analysis | [email protected] |
| May 27, 2026 | New CVE Received | [email protected] |