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.
Executive briefing
The source record describes: 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. The practical risk depends on whether an affected product/version is present, reachable and configured in an exploitable way. Review the affected-product evidence and linked vendor advisories before assigning exposure status.
Evidence confidence: Moderate Evidence-derived, not an exploitability verdict
Severity & attack characteristics
CVSS vector:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Technical explanation & impact
The technical mechanism is not expanded beyond the source description unless a referenced advisory supplies additional evidence. Read the linked vendor/CERT advisories for root-cause detail.
Potential impact must be interpreted from the published CVSS impact metrics and the affected component. A CVSS impact score is not proof that a particular asset is exploitable.
Weakness classification
CWE-280Affected products and versions
Products below are parsed from NVD vulnerable CPE configuration entries. Version boundaries are shown as published; verify applicability with the vendor.
| Vendor | Product | Version evidence |
|---|---|---|
| samba | samba | from (inclusive) 4.24.0; before 4.24.3 |
| redhat | openshift_container_platform | from (inclusive) 4.19; before 4.19.36 |
| redhat | enterprise_linux | CPE version 7.0 · CPE version 8.0 · CPE version 9.0 · CPE version 10.0 |
Remediation & validation
- Identify exposure by comparing the affected product and version ranges with your asset inventory, SBOM and externally exposed services.
- Review the linked vendor security advisory or patch notes. Upgrade to a vendor-confirmed fixed release; do not infer a fixed version from the CVE description.
- Until patched, consider restricting network access or disabling the affected feature where operationally safe. These are temporary controls, not a substitute for a vendor fix.
- Validate the remediation with a version check and vulnerability rescan, then retain change evidence.
No fixed version is displayed unless it is explicitly established by a vendor advisory. Follow the vendor's release notes for exact product and branch applicability.
Vendor advisories, patches & exploit references
- https://access.redhat.com/errata/RHSA-2026:22644 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:22963 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:25049 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:25979 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28053 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28054 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28055 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28056 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28057 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:29863 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:56786 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:56853 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:56911 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:57483 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:59831 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:60019 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:62409 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:62549 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:65839 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:65851 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:65907 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:67857 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:70586 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:77320 ADVISORY secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2026-2340 ADVISORY secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2447318 ADVISORY secalert@redhat.com
- https://bugzilla.samba.org/show_bug.cgi?id=15997 ADVISORY secalert@redhat.com