CVE-2026-2340

medium
Published 2026-05-27 ยท Modified 2026-05-29
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.5

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.

Predictions

Exploit likelihood
75%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Red Hat Errata โ€” Red Hat Inc. ยท View original โ†— ยท Open-Errata-API

Description samba: vfs_worm does not block directory modification Red Hat statement This vulnerability is rated Moderate severity because exploitation requires authenticated write access to a Samba share already configured to permit file creation and modification. The flaw affects the vfs_worm module, which provides additional immutability protections for files after a configurable grace period.โ€ฆ

Description

samba: vfs_worm does not block directory modification

Red Hat statement

This vulnerability is rated Moderate severity because exploitation requires authenticated write access to a Samba share already configured to permit file creation and modification. The flaw affects the vfs_worm module, which provides additional immutability protections for files after a configurable grace period. Due to improper handling of rename operations, a user with existing write permissions could overwrite files that should have become immutable under the WORM policy. The vulnerability does not bypass underlying filesystem access controls or grant additional privileges beyond those already assigned to the authenticated user. However, because the primary purpose of the vfs_worm module is to protect file integrity, the ability to modify protected files results in a high integrity impact.

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

Package state

ProductPackageState
Red Hat Enterprise Linux 10sambaAffected
Red Hat Enterprise Linux 6sambaOut of support scope
Red Hat Enterprise Linux 6samba4Out of support scope
Red Hat Enterprise Linux 7sambaAffected
Red Hat Enterprise Linux 8sambaAffected
Red Hat Enterprise Linux 9sambaAffected
Red Hat OpenShift Container Platform 4rhcosAffected

Affected

VendorProductVersion
redhatRed Hat Enterprise Linux 10Affected
redhatRed Hat Enterprise Linux 7Affected
redhatRed Hat Enterprise Linux 8Affected
redhatRed Hat Enterprise Linux 9Affected
redhatRed Hat OpenShift Container Platform 4Affected

OS impact

redhat Red Hat Affected 4 releases
VersionStatusFixed in
10.0 Affected โ€”
9.0 Affected โ€”
8.0 Affected โ€”
7.0 Affected โ€”
suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
debian Debian Mixed 5 releases
VersionStatusFixed in
trixie Fixed 2:4.22.8+dfsg-0+deb13u2
sid Fixed 2:4.24.3+dfsg-1
forky Fixed 2:4.24.3+dfsg-1
bullseye Affected โ€”
bookworm Fixed 2:4.17.12+dfsg-0+deb12u4

Application impact

VendorProductVersionsFixed
redhat redhatopenshift_container_platform4.0
sambasamba{"startIncluding":"4.1.0"}

References

CWEs

CWE-280

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.