CVE-2026-2340
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-27
- Last modified
- 2026-11-06
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N- Scored by
- secalert@redhat.com
- Probability of exploitation
-
0.9 %
higher than 57 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Redhat | Enterprise Linux | 10.0 | Affected |
| Redhat | Enterprise Linux | 7.0 | Affected |
| Redhat | Enterprise Linux | 8.0 | Affected |
| Redhat | Enterprise Linux | 9.0 | Affected |
| Redhat | Openshift Container Platform | ≥ 4.12, < 4.12.97 | Affected |
| Redhat | Openshift Container Platform | ≥ 4.13, < 4.13.71 | Affected |
| Redhat | Openshift Container Platform | ≥ 4.14, < 4.14.72 | Affected |
| Redhat | Openshift Container Platform | ≥ 4.15, < 4.15.68 | Affected |
| Redhat | Openshift Container Platform | ≥ 4.16, < 4.16.69 | Affected |
| Redhat | Openshift Container Platform | ≥ 4.17, < 4.17.57 | Affected |
| Redhat | Openshift Container Platform | ≥ 4.18, < 4.18.54 | Affected |
| Redhat | Openshift Container Platform | ≥ 4.19, < 4.19.36 | Affected |
| Samba | Samba | ≥ 4.20.0, < 4.22.10 | Affected |
| Samba | Samba | ≥ 4.23.0, < 4.23.8 | Affected |
| Samba | Samba | ≥ 4.24.0, < 4.24.3 | Affected |
Weakness type
-
CWE-280: Improper Handling of Insufficient Permissions or Privileges
The product does not handle or incorrectly handles when it has insufficient privileges to access resources or functionality as specified by their permissions. This may cause it to follow unexpected code paths that may l…
References
- https://access.redhat.com/errata/RHSA-2026:22644
- https://access.redhat.com/errata/RHSA-2026:22963
- https://access.redhat.com/errata/RHSA-2026:25049
- https://access.redhat.com/errata/RHSA-2026:25979
- https://access.redhat.com/errata/RHSA-2026:28053
- https://access.redhat.com/errata/RHSA-2026:28054
- https://access.redhat.com/errata/RHSA-2026:28055
- https://access.redhat.com/errata/RHSA-2026:28056
- https://access.redhat.com/errata/RHSA-2026:28057
- https://access.redhat.com/errata/RHSA-2026:29863
- https://access.redhat.com/errata/RHSA-2026:56786
- https://access.redhat.com/errata/RHSA-2026:56853
- https://access.redhat.com/errata/RHSA-2026:56911
- https://access.redhat.com/errata/RHSA-2026:57483
- https://access.redhat.com/errata/RHSA-2026:59831
- https://access.redhat.com/errata/RHSA-2026:60019
- https://access.redhat.com/errata/RHSA-2026:62409
- https://access.redhat.com/errata/RHSA-2026:62549
- https://access.redhat.com/errata/RHSA-2026:65839
- https://access.redhat.com/errata/RHSA-2026:65851
Related at Berigo
Articles
-
Six Samba vulnerabilities, two of them at maximum severity
Mentions this CVE
2026-05-26
The Samba project has released fixes for six vulnerabilities, two of which allow remote code execution at CVSS 10.
-
Red Hat npm Miasma credential-stealing campaign
Same product
2026-06-05
32 npm packages under @redhat-cloud-services were modified with malware that steals cloud, SSH and AI tool credentials and spreads to further package…
-
Compromised npm packages steal developer and CI/CD secrets
Same product
2026-06-01
A new supply chain campaign has compromised npm packages under the @redhat-cloud-services namespace, running at install time to harvest secrets.
-
Critical flaw lets unauthenticated attackers redirect Apache Artemis brokers
Same product
2026-03-03
CVE-2026-27446 lets an attacker without credentials force an Artemis broker to connect to a server they control, then read or inject messages.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.