🔐 CVE Alert

CVE-2026-2340

MEDIUM 6.5

Samba: vfs_worm does not block directory modification

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
11th

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.

CWE CWE-280
Vendor red hat
Product red hat enterprise linux 10
Published May 27, 2026
Last Updated Jun 4, 2026
Stay Ahead of the Next One

Get instant alerts for red hat red hat enterprise linux 10

Be the first to know when new medium vulnerabilities affecting red hat red hat enterprise linux 10 are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

Red Hat / Red Hat Enterprise Linux 10
All versions affected
Red Hat / Red Hat Enterprise Linux 6
All versions affected
Red Hat / Red Hat Enterprise Linux 6
All versions affected
Red Hat / Red Hat Enterprise Linux 7
All versions affected
Red Hat / Red Hat Enterprise Linux 8
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected
Red Hat / Red Hat OpenShift Container Platform 4
All versions affected

References

NVD ↗ CVE.org ↗ EPSS Data ↗
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:22963 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-2340 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2447318 bugzilla.samba.org: https://bugzilla.samba.org/show_bug.cgi?id=15997

Credits

Red Hat would like to thank Pavel Kohout (Aisle Research) for reporting this issue.