Improper access control in Samba - CVE-2026-2340

 

Improper access control in Samba - CVE-2026-2340

Published: May 27, 2026


Vulnerability identifier: #VU132341
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-2340
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Samba
Affected software:
Samba

Detailed vulnerability description

The vulnerability allows a remote user to overwrite protected files.

The vulnerability exists due to improper access control in the WORM vfs module when processing file rename operations. A remote user can rename a newly created file over a protected file to overwrite protected files.


How to mitigate CVE-2026-2340

Install security update from vendor's website.

Sources