CVE-2026-2340: Samba’s vfs_worm module · CWE-280
Source GCVE Database
Not known to be exploited · CVSS 6.5 Medium : update Red Hat Enterprise Linux 10 when convenient.
Data as of 29 Nov 2026, 18:37 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 6.5 |
|---|
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Patches and advisories
- access.redhat.com/errata/RHSA-2026:77320 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:70586 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:67857 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65907 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65851 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65839 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62549 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62409 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:60019 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:59831 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57483 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56911 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 10samba | Affected– | Fixed in– |
| Red Hat Enterprise Linux 10.0 Extended Update Supportsamba | Affected– | Fixed in– |
| Red Hat Enterprise Linux 8samba | Affected– | Fixed in– |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportsamba | Affected– | Fixed in– |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onsamba | Affected– | Fixed in– |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Servicesamba | Affected– | Fixed in– |
AI-suggested
Administrators should mitigate this vulnerability by setting read-only permissions on protected files at the underlying filesystem level to prevent modifications. Alternatively, configuring 'worm:grace_period = 0' in smb.conf will eliminate the writable grace period, removing the window during which the rename operation can overwrite protected files. This configuration change may affect workflows that rely on multi-step file creation.
Description
A vulnerability in Samba's vfs_worm module allows an authenticated user with write access to a share to overwrite files protected by the write-once, read-many (WORM) policy. This occurs due to insufficient validation during rename operations, enabling modification of files that should be immutable after a configurable grace period.
References
- nvd.nist.gov/vuln/detail/CVE-2026-2340 (opens in a new tab)
- bugzilla.samba.org/show_bug.cgi?id=15997 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2447318 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-2340 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:77320 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:70586 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:67857 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65907 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65851 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65839 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62549 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62409 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:60019 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:59831 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57483 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56911 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56853 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56786 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:29863 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:28057 (opens in a new tab)