CVE-2026-2340
Samba: vfs_worm does not block directory modification
- State
- Published
- Severity
- 6.5 Medium
- Published
- May 27, 2026
- Updated
- Oct 15, 2026
- Reserved
- Feb 11, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | redhat |
Weaknesses
- CWE-280 Improper Handling of Insufficient Permissions or Privileges
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat |
|
Red Hat OpenShift Container Platform 4.12Red Hat |
|
Red Hat OpenShift Container Platform 4.12Red Hat |
|
Red Hat OpenShift Container Platform 4.13Red Hat |
|
Red Hat OpenShift Container Platform 4.13Red Hat |
|
Red Hat OpenShift Container Platform 4.14Red Hat |
|
Red Hat OpenShift Container Platform 4.14Red Hat |
|
Red Hat OpenShift Container Platform 4.15Red Hat |
|
Red Hat OpenShift Container Platform 4.15Red Hat |
|
Red Hat OpenShift Container Platform 4.16Red Hat |
|
Red Hat OpenShift Container Platform 4.16Red Hat |
|
Red Hat OpenShift Container Platform 4.17Red Hat |
|
Red Hat OpenShift Container Platform 4.17Red Hat |
|
Red Hat OpenShift Container Platform 4.18Red Hat |
|
Red Hat OpenShift Container Platform 4.18Red Hat |
|
Red Hat OpenShift Container Platform 4.19Red Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 7Red Hat |
References
- RHSA-2026:22644vendor-advisory
- RHSA-2026:22963vendor-advisory
- RHSA-2026:25049vendor-advisory
- RHSA-2026:25979vendor-advisory
- RHSA-2026:28053vendor-advisory
- RHSA-2026:28054vendor-advisory
- RHSA-2026:28055vendor-advisory
- RHSA-2026:28056vendor-advisory
- RHSA-2026:28057vendor-advisory
- RHSA-2026:29863vendor-advisory
- RHSA-2026:56786vendor-advisory
- RHSA-2026:56853vendor-advisory
- RHSA-2026:56911vendor-advisory
- RHSA-2026:57483vendor-advisory
- RHSA-2026:59831vendor-advisory
- RHSA-2026:60019vendor-advisory
- RHSA-2026:62409vendor-advisory
- RHSA-2026:62549vendor-advisory
- RHSA-2026:65839vendor-advisory
- RHSA-2026:65851vendor-advisory
- RHSA-2026:65907vendor-advisory
- RHSA-2026:67857vendor-advisory
- RHSA-2026:70586vendor-advisory
- RHSA-2026:77320vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-2340vdb-entry
- RHBZ#2447318issue-tracking
- https://bugzilla.samba.org/show_bug.cgi?id=15997
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.