CVE-2026-2340 in Redhat Enterprise Linux and 2 more products
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 ...
Affects 3 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Enterprise Linux | 7.0 8.0 9.0 10.0 |
| Redhat | Openshift Container Platform | 4.0 ≥ 4.12, < 4.12.97 ≥ 4.13, < 4.13.71 ≥ 4.14, < 4.14.72 ≥ 4.15, < 4.15.68 ≥ 4.16, < 4.16.69+3 more≥ 4.17, < 4.17.57 ≥ 4.18, < 4.18.54 ≥ 4.19, < 4.19.36 |
| Samba | Samba | ≥ 4.1.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-2340 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Published | 2026-05-27 |
| Last modified | 2026-11-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-280: CWE-280
Analysis AI-written, not human-reviewed
A medium severity vulnerability (CVE-2026-2340) affects the target system. 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...
Questions
What is CVE-2026-2340?
A medium severity vulnerability (CVE-2026-2340) affects the target system. 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...
What is the CVSS score for CVE-2026-2340?
CVE-2026-2340 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.6%.
Is CVE-2026-2340 actively exploited?
No confirmed active exploitation of CVE-2026-2340 as of 2026-11-27.
How do I remediate CVE-2026-2340?
Advisory: https://access.redhat.com/errata/RHSA-2026:22644
What systems are affected by CVE-2026-2340?
CVE-2026-2340 affects Redhat Enterprise Linux, Openshift Container Platform; Samba Samba.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Redhat","product":"Enterprise Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-26.