CVE-2026-2340 MEDIUM

CVE-2026-2340: Samba: vfs_worm does not block directory modification

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Weakness CWE-280
Published May 27, 2026
Last update June 15, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 27, 2026 CVE published
June 15, 2026 Record updated