CVE-2026-2340: Red Hat Enterprise Linux
Medium severity, CVSS 6.5. EPSS: 0.6% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Red Hat Openshift Container Platform, from 4.12, before 4.12.97: fixed in 4.12.97
- Red Hat Openshift Container Platform, from 4.13, before 4.13.71: fixed in 4.13.71
- Red Hat Openshift Container Platform, from 4.14, before 4.14.72: fixed in 4.14.72
- Red Hat Openshift Container Platform, from 4.15, before 4.15.68: fixed in 4.15.68
- Red Hat Openshift Container Platform, from 4.16, before 4.16.69: fixed in 4.16.69
- Red Hat Openshift Container Platform, from 4.17, before 4.17.57: fixed in 4.17.57
- Red Hat Openshift Container Platform, from 4.18, before 4.18.54: fixed in 4.18.54
- Red Hat Openshift Container Platform, from 4.19, before 4.19.36: fixed in 4.19.36
- Samba, from 4.20.0, before 4.22.10: fixed in 4.22.10
- Samba, from 4.23.0, before 4.23.8: fixed in 4.23.8
- and 1 more
Affected products
- Red Hat Enterprise Linux: version 7.0 only; version 8.0 only; version 9.0 only; version 10.0 only
- Red Hat Openshift Container Platform: from 4.12, before 4.12.97 (fixed in 4.12.97); from 4.13, before 4.13.71 (fixed in 4.13.71); from 4.14, before 4.14.72 (fixed in 4.14.72); from 4.15, before 4.15.68 (fixed in 4.15.68); from 4.16, before 4.16.69 (fixed in 4.16.69); from 4.17, before 4.17.57 (fixed in 4.17.57); …
- Samba Samba: from 4.20.0, before 4.22.10 (fixed in 4.22.10); from 4.23.0, before 4.23.8 (fixed in 4.23.8); from 4.24.0, before 4.24.3 (fixed in 4.24.3)
Published 2026-05-27. Last modified 2026-11-26.