Original description
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.
Affected software
- Samba ≥ 4.24.0 < 4.24.3≥ 4.20.0 < 4.22.10≥ 4.23.0 < 4.23.8 Fixed in: 4.24.3, 4.22.10, 4.23.8 exact match
Details
- Published
- 2026-05-27
- Last modified
- 2026-11-06
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N- CWE
- CWE-280
- EPSS (30-day exploit probability)
- 0.95% (percentile 62)
References
- cve.org/CVE-2026-2340
- nvd.nist.gov/vuln/detail/CVE-2026-2340
- access.redhat.com/errata/RHSA-2026:22644
- access.redhat.com/errata/RHSA-2026:22963
- access.redhat.com/errata/RHSA-2026:25049
- access.redhat.com/errata/RHSA-2026:25979
- access.redhat.com/errata/RHSA-2026:28053
- access.redhat.com/errata/RHSA-2026:28054
- access.redhat.com/errata/RHSA-2026:28055
- access.redhat.com/errata/RHSA-2026:28056
- access.redhat.com/errata/RHSA-2026:28057
- access.redhat.com/errata/RHSA-2026:29863
- access.redhat.com/errata/RHSA-2026:56786
- access.redhat.com/errata/RHSA-2026:56853
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.