Home

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.

PUBLISHED Reserved 2026-02-11 | Published 2026-05-27 | Updated 2026-06-04 | Assigner redhat




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

Problem types

Improper Handling of Insufficient Permissions or Privileges

Product status

Default status
affected

0:4.23.5-109.el10_2 (rpm) before *
unaffected

Default status
unknown

Default status
unknown

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Timeline

2026-03-13:Reported to Red Hat.
2026-05-27:Made public.

Credits

Red Hat would like to thank Pavel Kohout (Aisle Research) for reporting this issue.

References

access.redhat.com/errata/RHSA-2026:22963 (RHSA-2026:22963) vendor-advisory

access.redhat.com/security/cve/CVE-2026-2340 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2447318 (RHBZ#2447318) issue-tracking

bugzilla.samba.org/show_bug.cgi?id=15997

cve.org (CVE-2026-2340)

nvd.nist.gov (CVE-2026-2340)

Download JSON