CVE-2026-2340Samba: vfs_worm does not block directory modification
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Enterprise Linux 10 and 9 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weakness (CWE)
- CWE-280
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:4.23.5-109.el10_2 not affected | CNA record |
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support redhat:enterprise_linux_eus | from 0:4.21.3-114.el10_0.1 not affected | CNA record |
from 0:4.15.5-16.el8_6.1 not affected | CNA record | |
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support redhat:rhel_eus_long_life | from 0:4.15.5-16.el8_6.1 not affected | CNA record |
from 0:4.17.5-7.el8_8.1 not affected | CNA record | |
from 0:4.17.5-7.el8_8.1 not affected | CNA record | |
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support redhat:rhel_eus | from 0:4.21.3-14.el9_6.1 not affected | CNA record |
Red Hat Red Hat OpenShift Container Platform 4.12 redhat:openshift | from 412.86.202608241157-0 not affected | CNA record |
redhat openshift_container_platform redhat:openshift_container_platform | 4.0 | NVD |
samba samba samba:samba | from 4.1.0 | NVD |
redhat enterprise_linux redhat:enterprise_linux | 7.0; 8.0; 9.0; 10.0 | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:22644vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:22963vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:25049vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:25979vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:28053vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:28054vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:28055vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:28056vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:28057vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:29863vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:56786vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:56853vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:56911vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:57483vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:59831vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:60019vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:62409vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:62549vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:65839vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:65851vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:65907vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:67857vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:70586vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:77320vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-2340vdb-entry, x-refsource-redhat, mitigation, third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.