CVE-2026-2340: Samba: vfs_worm does not block directory modification
Vulnerability summary
CVE-2026-2340 is a medium (CVSS 6.5) vulnerability in redhat enterprise_linux. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 60.9% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 10Timeline
- 27-05-2026PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.94%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.94% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard21 products
- libauth-samba< 4.24.3-r0
- libsmbclient< 4.24.3-r0
- libwbclient< 4.24.3-r0
- py3.13-samba< 4.24.3-r0
- samba< 4.24.3-r0
Wolfi21 products
- libauth-samba< 4.24.3-r0
- libsmbclient< 4.24.3-r0
- libwbclient< 4.24.3-r0
- py3.13-samba< 4.24.3-r0
- samba< 4.24.3-r0
Redhat2 products
- enterprise_linuxEOL7.0 | 8.0 | 9.0 | 10.0
- openshift_container_platform4.0
Alpine1 product
- samba≥ 4.1.0, < 4.22.10-r0 | ≥ 4.1.0, < 4.23.8-r0
Debian1 product
- samba< 2:4.17.12+dfsg-0+deb12u4 | < 2:4.22.8+dfsg-0+deb13u2 | < 2:4.24.3+dfsg-1
Samba1 product
- samba≥ 4.1.0 (No fix recorded)
Ubuntu1 product
- samba< 2:4.15.13+dfsg-0ubuntu1.12 | < 2:4.19.5+dfsg-4ubuntu9.6 | < 2:4.22.3+dfsg-4ubuntu2.4 | < 2:4.23.6+dfsg-1ubuntu2.1
7 vendors · 48 products
References
32 linksShow all 32 references
- access.redhat.com/security/cve/CVE-2026-2340VDB EntryX Refsource REDHATMitigationThird Party Advisory