CVE & CISA-KEV Catalog

CVE-2026-2340

MEDIUM
6.5
CVSS v3
NVD

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.

How to fix

Remediation Available
sambaDebian
Fixed in:2:4.13.13+dfsg-1~deb11u8CVE-2026-2340
Fixed in:2:4.17.12+dfsg-0+deb12u4CVE-2026-2340
Fixed in:2:4.22.8+dfsg-0+deb13u2CVE-2026-2340
Fixed in:2:4.24.3+dfsg-1CVE-2026-2340
ctdbRocky
Fixed in:0:4.15.5-16.el8_6.1RHSA-2026:28057
Fixed in:0:4.17.5-7.el8_8.1RHSA-2026:28056
Fixed in:0:4.17.5-7.el8_8.1RHSA-2026:28056
Fixed in:0:4.19.4-105.el9_4.4RHSA-2026:28053
Fixed in:0:4.23.5-10.el9_8RHSA-2026:25049
Fixed in:0:4.19.4-105.el9_4.4RHSA-2026:28053
Fixed in:0:4.17.5-105.el9_2.5RHSA-2026:28054
Fixed in:0:4.17.5-105.el9_2.5RHSA-2026:28054
ctdbRed Hat / RHEL
Fixed in:0:4.15.5-16.el8_6.1RHSA-2026:28057
Fixed in:0:4.17.5-7.el8_8.1RHSA-2026:28056
Fixed in:0:4.17.5-7.el8_8.1RHSA-2026:28056
Fixed in:0:4.23.5-10.el9_8RHSA-2026:25049
Fixed in:0:4.21.3-14.el9_6.1RHSA-2026:25979
Fixed in:0:4.21.3-14.el9_6.1RHSA-2026:25979
Fixed in:0:4.23.5-10.el9_8RHSA-2026:25049
Fixed in:0:4.17.5-105.el9_2.5RHSA-2026:28054
ctdb-debuginfoRocky
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
ctdb-debuginfoRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
ldb-toolsRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
ldb-toolsRocky
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
ldb-tools-debuginfoRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
ldb-tools-debuginfoRocky
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libldbRocky
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libldbRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libldb-debuginfoRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libldb-debuginfoRocky
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libldb-develRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libldb-develRocky
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libnetapiRocky
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libnetapiRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libnetapi-debuginfoRocky
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libnetapi-debuginfoRed Hat / RHEL
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libnetapi-develRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libnetapi-develRocky
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libsmbclientRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libsmbclientRocky
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libsmbclient-debuginfoRocky
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libsmbclient-debuginfoRed Hat / RHEL
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libsmbclient-develRocky
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
libsmbclient-develRed Hat / RHEL
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libwbclientRed Hat / RHEL
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libwbclientRocky
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
libwbclient-debuginfoRocky
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.23.5-109.el10_2RHSA-2026:22963
Fixed in:0:4.21.3-114.el10_0.1RHSA-2026:28055

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

0.94%probability of exploitation in 30 days
58thpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2024-24116Critical9.828%--
CVE-2026-20817High7.85.4%-Fix
CVE-2020-8219High7.22.2%--
CVE-2012-4550Medium5.32.1%--
CVE-2020-26195Medium5.31.8%--
CVE-2021-38312High7.11.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 (Rocky), ctdb (Red Hat / RHEL), ctdb-debuginfo (Rocky), and 121 more. The list on this page is capped, so there may be more.

Embed a live status badge for CVE-2026-2340
CVE-2026-2340 severity badge

Markdown

[![CVE-2026-2340](https://tridentstack.com/cve/badge/CVE-2026-2340.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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-08-31.