CVE-2026-2340

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

History

04 Jun 2026, 00:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:22963 -

28 May 2026, 15:33

Type Values Removed Values Added
First Time Samba
Samba samba
Redhat
Redhat enterprise Linux
Redhat openshift Container Platform
CPE cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
References () https://access.redhat.com/security/cve/CVE-2026-2340 - () https://access.redhat.com/security/cve/CVE-2026-2340 - Mitigation, Third Party Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2447318 - () https://bugzilla.redhat.com/show_bug.cgi?id=2447318 - Issue Tracking, Third Party Advisory
References () https://bugzilla.samba.org/show_bug.cgi?id=15997 - () https://bugzilla.samba.org/show_bug.cgi?id=15997 - Issue Tracking, Vendor Advisory

27 May 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-27 14:16

Updated : 2026-06-04 00:16


NVD link : CVE-2026-2340

Mitre link : CVE-2026-2340

CVE.ORG link : CVE-2026-2340


JSON object : View

Products Affected

samba

  • samba

redhat

  • openshift_container_platform
  • enterprise_linux
CWE
CWE-280

Improper Handling of Insufficient Permissions or Privileges