CVE-2026-2340Samba
Medium 6.5
Follow: this CVE · Samba · Samba We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- May 27, 2026
- Updated
- Nov 26, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-280
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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
- Apply the vendor's security update for Samba.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | samba | ≥ 4.20.0 < 4.22.10 |
| samba | samba | ≥ 4.23.0 < 4.23.8 |
| samba | samba | ≥ 4.24.0 < 4.24.3 |
| redhat | openshift_container_platform | ≥ 4.12 < 4.12.97 |
| redhat | openshift_container_platform | ≥ 4.13 < 4.13.71 |
| redhat | openshift_container_platform | ≥ 4.14 < 4.14.72 |
| redhat | openshift_container_platform | ≥ 4.15 < 4.15.68 |
| redhat | openshift_container_platform | ≥ 4.16 < 4.16.69 |
| redhat | openshift_container_platform | ≥ 4.17 < 4.17.57 |
| redhat | openshift_container_platform | ≥ 4.18 < 4.18.54 |
| redhat | openshift_container_platform | ≥ 4.19 < 4.19.36 |
| redhat | enterprise_linux | 7.0 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
| redhat | enterprise_linux | 10.0 |
Official advisories
- Security update for samba · SUSE · openSUSE-SU-2026:21540-1 · Aug 6, 2026 Critical
- Security update for samba · SUSE · SUSE-SU-2026:23003-1 · Aug 6, 2026 Critical
- Security update for samba · SUSE · SUSE-SU-2026:23129-1 · Aug 6, 2026 Critical
- Red Hat Security Advisory: samba security update · Red Hat · RHSA-2026:28057 · Jun 23, 2026 High
- Red Hat Security Advisory: samba security update · Red Hat · RHSA-2026:28056 · Jun 23, 2026 High
- Red Hat Security Advisory: samba security update · Red Hat · RHSA-2026:28054 · Jun 23, 2026 High
Also: SUSE (+5), Red Hat (+6)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Mitigation Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- bugzilla.samba.org Issue Tracking Vendor Advisory