Vulnerability in Samba
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.009, 61.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Samba
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux — versions 7.0, 8.0, 9.0
- Red Hat Openshift Container Platform — versions 4.0
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-2340 (Third Party Advisory, Mitigation, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- bugzilla.samba.org/show_bug.cgi (Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:22963 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:25049 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:25979 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:22644 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:28057 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:28054 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:28055 (vendor-advisory, Third Party Advisory)