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

Read the record on cve.org

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

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:Nredhat

Weaknesses

  • CWE-280 Improper Handling of Insufficient Permissions or Privileges

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:4.23.5-109.el10_2 and laterNot affected
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat
  • 0:4.21.3-114.el10_0.1 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:4.19.4-16.el8_10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:4.19.4-16.el8_10 and laterNot affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat
  • 0:4.15.5-16.el8_6.1 and laterNot affected
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRed Hat
  • 0:4.15.5-16.el8_6.1 and laterNot affected
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat
  • 0:4.17.5-7.el8_8.1 and laterNot affected
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat
  • 0:4.17.5-7.el8_8.1 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:4.23.5-10.el9_8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:4.23.5-10.el9_8 and laterNot affected
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat
  • 0:4.17.5-105.el9_2.5 and laterNot affected
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRed Hat
  • 0:4.19.4-105.el9_4.4 and laterNot affected
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat
  • 0:4.21.3-14.el9_6.1 and laterNot affected
Red Hat OpenShift Container Platform 4.12Red Hat
  • 412.86.202608241157-0 and laterNot affected
Red Hat OpenShift Container Platform 4.12Red Hat
  • 412.86.202609082051-0 and laterNot affected
Red Hat OpenShift Container Platform 4.13Red Hat
  • 413.92.202609080414-0 and laterNot affected
Red Hat OpenShift Container Platform 4.13Red Hat
  • 413.92.202609302032-0 and laterNot affected
Red Hat OpenShift Container Platform 4.14Red Hat
  • 414.92.202608172040-0 and laterNot affected
Red Hat OpenShift Container Platform 4.14Red Hat
  • 414.92.202609011250-0 and laterNot affected
Red Hat OpenShift Container Platform 4.15Red Hat
  • 415.92.202608180329-0 and laterNot affected
Red Hat OpenShift Container Platform 4.15Red Hat
  • 415.92.202609140326-0 and laterNot affected
Red Hat OpenShift Container Platform 4.16Red Hat
  • 416.94.202608150307-0 and laterNot affected
Red Hat OpenShift Container Platform 4.16Red Hat
  • 416.94.202609011112-0 and laterNot affected
Red Hat OpenShift Container Platform 4.17Red Hat
  • 417.94.202608250221-0 and laterNot affected
Red Hat OpenShift Container Platform 4.17Red Hat
  • 417.94.202609191027-0 and laterNot affected
Red Hat OpenShift Container Platform 4.18Red Hat
  • 418.94.202608142238-0 and laterNot affected
Red Hat OpenShift Container Platform 4.18Red Hat
  • 418.94.202609031320-0 and laterNot affected
Red Hat OpenShift Container Platform 4.19Red Hat
  • 4.19.9.6.202606241344-0 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat

        References

        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.