6.5

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

Modified
AliasesALPINE-CVE-2026-2340UBUNTU-CVE-2026-2340DEBIAN-CVE-2026-2340
Published 27-05-2026Last modified 15-10-2026

Vulnerability summary

CVE-2026-2340 is a medium (CVSS 6.5) vulnerability in redhat enterprise_linux. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 60.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.94%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 17 · Related 10

Timeline

  1. 27-05-2026
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.94%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.94% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard21 products
  • libauth-samba< 4.24.3-r0
  • libsmbclient< 4.24.3-r0
  • libwbclient< 4.24.3-r0
  • py3.13-samba< 4.24.3-r0
  • samba< 4.24.3-r0
Wolfi21 products
  • libauth-samba< 4.24.3-r0
  • libsmbclient< 4.24.3-r0
  • libwbclient< 4.24.3-r0
  • py3.13-samba< 4.24.3-r0
  • samba< 4.24.3-r0
Redhat2 products
Alpine1 product
  • samba≥ 4.1.0, < 4.22.10-r0 | ≥ 4.1.0, < 4.23.8-r0
Debian1 product
  • samba< 2:4.17.12+dfsg-0+deb12u4 | < 2:4.22.8+dfsg-0+deb13u2 | < 2:4.24.3+dfsg-1
Samba1 product
  • samba≥ 4.1.0 (No fix recorded)
Ubuntu1 product
  • samba< 2:4.15.13+dfsg-0ubuntu1.12 | < 2:4.19.5+dfsg-4ubuntu9.6 | < 2:4.22.3+dfsg-4ubuntu2.4 | < 2:4.23.6+dfsg-1ubuntu2.1

7 vendors · 48 products

References

32 links
Show all 32 references