CVE-2026-2340
6.5 MEDIUMA flaw was found in Samba’s vfs_worm module
Published: 2026-05-27 · Last updated: 2026-06-10
Severity and scoring
- CVSS
- 6.5 MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CWE
- CWE-280
Affected products
| Vendor | Product |
|---|---|
| redhat | enterprise_linux, openshift_container_platform, samba |
| samba | enterprise_linux, openshift_container_platform, samba |
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: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-2340
- [Other]https://access.redhat.com/errata/RHSA-2026:22963
- [Other]https://access.redhat.com/errata/RHSA-2026:25049
- [Other]https://access.redhat.com/security/cve/CVE-2026-2340
- [Other]https://bugzilla.redhat.com/show_bug.cgi?id=2447318
- [Vendor advisory]https://bugzilla.samba.org/show_bug.cgi?id=15997
Related CVEs
Same vendor
- CVE-2026-50259 — A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland (7.8 HIGH)
- CVE-2026-50258 — A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland (7.8 HIGH)
- CVE-2026-50257 — A use-after-free flaw was found in the X.Org X server and Xwayland in miSyncDestroyFence() (7.8 HIGH)
- CVE-2026-50256 — A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland (7.8 HIGH)
- CVE-2026-1784 — The Route OpenShift resource allows to define routes to make pods reachable at a subdomain through HAProxy (8.8 HIGH)
Same CWE
- CVE-2026-40371 — Improper handling of insufficient permissions or privileges in Microsoft Dynamics 365 (on-premises) allows an authorized attacker to elev... (8.8 HIGH)
- CVE-2026-11764 — When creating an export of all reusable media, the secrets of connected gift cards were included in the export even if the user creating...
- CVE-2026-10549 — LDAP filter injection vulnerability in Yandex Database prior to 25.3.1.25 allows a remote attacker with valid LDAP credentials to bypass ...
- CVE-2026-9792 — A flaw was found in Keycloak's Client Policies, specifically within the `org.keycloak.protocol.oidc` component (6.5 MEDIUM)
- CVE-2026-20817 — Improper handling of insufficient permissions or privileges in Windows Error Reporting allows an authorized attacker to elevate privilege... (7.8 HIGH)