CVE-2026-2340
MEDIUMDescription
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.
How to fix
This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 58% of all known CVEs.
References
Related Vulnerabilities
Other CWE-280 (Improper Handling of Insufficient Permissions) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-24116 | Critical | 9.8 | 28% | - | - |
| CVE-2026-20817 | High | 7.8 | 5.3% | - | Fix |
| CVE-2020-8219 | High | 7.2 | 2.2% | - | - |
| CVE-2012-4550 | Medium | 5.3 | 2.1% | - | - |
| CVE-2020-26195 | Medium | 5.3 | 1.8% | - | - |
| CVE-2021-38312 | High | 7.1 | 1.3% | - | - |
Common questions
How do I fix CVE-2026-2340?
Published advisories record a fix for 125 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.
Is CVE-2026-2340 being actively exploited?
Not that we know of. CVE-2026-2340 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.94% is the estimated probability that it will be exploited in the next 30 days. That is higher than 58% of all scored CVEs.
How severe is CVE-2026-2340?
CVE-2026-2340 has a CVSS v3 base score of 6.5, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2026-2340 affect?
Published advisories record a fix for samba (Debian), ctdb (Red Hat / RHEL), ctdb (Rocky), ctdb-debuginfo (Red Hat / RHEL), and 121 more. The list on this page is capped, so there may be more.
Embed a live status badge for CVE-2026-2340
Markdown
[](https://tridentstack.com/cve/CVE-2026-2340)HTML
<a href="https://tridentstack.com/cve/CVE-2026-2340"><img src="https://tridentstack.com/cve/badge/CVE-2026-2340.svg" alt="CVE-2026-2340"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-02.