All vulnerabilities

Servers and applications

CVE-2026-2340

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…

Severity
Medium 6.5
Published
27 May 2026
Last changed
6 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.22.10, 4.23.8, 4.24.3
Exploit chance
0.9% in the next 30 daysHigher than 61% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-280
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
SambaServers and applications · cpe:a:samba:samba
  • From 4.20.0 before 4.22.10
  • From 4.23.0 before 4.23.8
  • From 4.24.0 before 4.24.3

About Samba

free software re-implementation of the SMB networking protocol

From Wikidata, CC0 1.0.
Developer
The Samba TeamWikidata
License
GNU Lesser General Public License, version 3.0 or laterWikidata
Written in
C, C++, PythonWikidata
First released
1992Wikidata

Release lines

ReleaseLatestSecurity fixes
4.254.25.1Until 31 Mar 2028
4.244.24.8Until 30 Sept 2027
4.234.23.13Until 31 Mar 2027
4.224.22.11Ended 30 Sept 2026
4.214.21.10Ended 31 Mar 2026
4.204.20.8Ended 12 Sept 2025

From endoflife.date.

Vulnerabilities in Samba

In our list
217
Published in the last 12 months
7
Critical, last 12 months
2
High, last 12 months
1
Known exploited
2
Search the list for Samba

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-2340
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-2340