CVE-2026-2340

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductSamba
PublishedMay 27, 2026
First seenMay 27, 2026
Weakness typeCWE-280CWE-280

How to fix

Affected products

ProductAffected versionsFixed in
samba samba4.1.0 ≤ v, 4.20.0 ≤ v < 4.22.10, 4.23.0 ≤ v < 4.23.8, 4.24.0 ≤ v < 4.24.34.22.10, 4.23.8, 4.24.3
redhat openshift_container_platform4.0, 4.12 ≤ v < 4.12.97, 4.13 ≤ v < 4.13.71, 4.14 ≤ v < 4.14.72, 4.15 ≤ v < 4.15.68, 4.16 ≤ v < 4.16.69, 4.17 ≤ v < 4.17.57, 4.18 ≤ v < 4.18.54, 4.19 ≤ v < 4.19.364.12.97, 4.13.71, 4.14.72, 4.15.68, 4.16.69, 4.17.57, 4.18.54, 4.19.36
redhat enterprise_linux7.0, 8.0, 9.0, 10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.