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.
CVE-2026-2340
Score 6.5 from GitHub Security Advisory published 2026-05-27. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EPSS
- 56.9%
- KEV
- Not listed
Published
May 27, 2026
Last Modified
July 2, 2026
Advisory Details (5)
Auto-updated Jun 12, 202615997 – (CVE-2026-2340) [SECURITY] CVE-2026-2340 vfs_worm does not block file overwrite
https://bugzilla.samba.org/show_bug.cgi?id=159972447318 – (CVE-2026-2340) CVE-2026-2340 samba: vfs_worm does not block directory modification
Affected: Red Hat Enterprise Linux 10
https://bugzilla.redhat.com/show_bug.cgi?id=2447318Affected: Red Hat Enterprise Linux 9.
https://access.redhat.com/errata/RHSA-2026:25049Affected: Red Hat Enterprise Linux 10.
https://access.redhat.com/errata/RHSA-2026:22963Vendor Advisories for CVE-2026-2340(11)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:29863Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.19.36 bug fix and security update
- RHSA-2026:28053Red Hat Product SecurityHigh
Red Hat Security Advisory: samba security update
- RHSA-2026:28054Red Hat Product SecurityHigh
Red Hat Security Advisory: samba security update
- RHSA-2026:28055Red Hat Product SecurityHigh
Red Hat Security Advisory: samba security update
- RHSA-2026:28056Red Hat Product SecurityHigh
Red Hat Security Advisory: samba security update
- RHSA-2026:28057Red Hat Product SecurityHigh
Red Hat Security Advisory: samba security update
- RHSA-2026:25979Red Hat Product SecurityHigh
Red Hat Security Advisory: samba security update
- RHSA-2026:25049Red Hat Product SecurityCritical
Red Hat Security Advisory: samba security update
- +3 more
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | winbind (2:4.23.6+dfsg-1ubuntu2.1) @ resolute | 2026-07-09 | ubuntu |
| redhat | rhcos-4.19.9.6.202606241344-0 | 2026-07-02 | redhat |
| redhat | samba-0:4.19.4-105.el9_4.4 | 2026-06-23 | redhat |
| redhat | samba-0:4.15.5-16.el8_6.1 | 2026-06-23 | redhat |
| redhat | samba-0:4.17.5-7.el8_8.1 | 2026-06-23 | redhat |
| redhat | samba-0:4.21.3-114.el10_0.1 | 2026-06-23 | redhat |
| redhat | samba-0:4.17.5-105.el9_2.5 | 2026-06-23 | redhat |
| redhat | samba-0:4.21.3-14.el9_6.1 | 2026-06-15 | redhat |
| redhat | samba-0:4.23.5-10.el9_8 | 2026-06-10 | redhat |
| redhat | samba-0:4.19.4-16.el8_10 | 2026-06-03 | redhat |
| redhat | samba-0:4.23.5-109.el10_2 | 2026-06-03 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 10× in last 7d / 71× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 153 total refreshes for this CVE.
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 00:29 UTCEG score recompute
- 2026-07-09 00:29 UTCVendor advisory
- 2026-07-09 00:29 UTCGHSA enrichment
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 11:39 UTCEG score recompute
- 2026-07-01 11:39 UTCVendor advisory
- 2026-07-01 11:39 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:35 UTCEG score recompute
- 2026-06-29 14:35 UTCVendor advisory
- 2026-06-29 14:35 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 08:07 UTCEG score recompute
- 2026-06-28 08:07 UTCVendor advisory
- 2026-06-28 08:07 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 06:38 UTCEG score recompute
- 2026-06-27 06:38 UTCVendor advisory
- 2026-06-27 06:37 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 03:23 UTCEG score recompute
- 2026-06-26 03:23 UTCVendor advisory
- 2026-06-26 03:23 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 01:57 UTCEG score recompute
- 2026-06-25 01:57 UTCVendor advisory
- 2026-06-25 01:57 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 02:29 UTCEG score recompute
- 2026-06-18 02:29 UTCVendor advisory
- 2026-06-18 02:28 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 01:04 UTCEG score recompute
- 2026-06-17 01:04 UTCVendor advisory
- 2026-06-17 01:04 UTCGHSA enrichment
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 23:39 UTCEG score recompute
- 2026-06-15 23:39 UTCVendor advisory
- 2026-06-15 23:39 UTCGHSA enrichment
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 22:14 UTCEG score recompute
- 2026-06-14 22:14 UTCVendor advisory
- 2026-06-14 22:14 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 20:48 UTCEG score recompute
- 2026-06-13 20:48 UTCVendor advisory
- 2026-06-13 20:48 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 17:59 UTCEG score recompute
- 2026-06-12 17:59 UTCVendor advisory
- 2026-06-12 17:59 UTCGHSA enrichment
- 2026-06-11 16:34 UTCEG score recompute
- 2026-06-11 16:34 UTCVendor advisory
- 2026-06-11 16:34 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 14:22 UTCEG score recompute
- 2026-06-10 14:22 UTCVendor advisory
- 2026-06-10 14:22 UTCGHSA enrichment
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-09 12:58 UTCEG score recompute
- 2026-06-09 12:58 UTCVendor advisory
Frequently asked(5)
What is CVE-2026-2340?
When was CVE-2026-2340 disclosed?
Is CVE-2026-2340 actively exploited?
What is the CVSS score of CVE-2026-2340?
How do I remediate CVE-2026-2340?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-2340
Is Your Infrastructure Affected by CVE-2026-2340?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.