Skip to main content
MEDIUM

CVE-2026-2340

CVSS v3

6.5

MEDIUM

EPSS Score

0.9 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for samba.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • sambaAlmaLinux:10all versions · fixed in 4.23.5-109.el10_2and 36 other packages
  • sambaAlmaLinux:9all versions · fixed in 4.23.5-10.el9_8and 36 other packages

Vendor advisories

  • CVE-2026-2340 Red Hat Product Security3,947 products fixed · 59 known affected

    samba: vfs_worm does not block directory modification

    libsmbclient as a component of Red Hat Enterprise Linux 6 · libsmbclient-devel as a component of Red Hat Enterprise Linux 6 · samba as a component of Red Hat Enterprise Linux 6

  • RHSA-2026:77320 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.13.72 bug fix and security update

  • RHSA-2026:70586 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.17.58 bug fix and security update

  • RHSA-2026:67857 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.15.69 bug fix and security update

  • RHSA-2026:65839 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.13.71 bug fix and security update

  • RHSA-2026:65851 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.18.55 bug fix and security update

19 more advisories

Full record on 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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Published
2026-05-27
Last Modified
2026-07-02

Frequently asked questions

What is 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 file.

Is CVE-2026-2340 actively exploited?

Active exploitation of CVE-2026-2340 has not been confirmed. Its EPSS score was 0.9% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-2340?

CVE-2026-2340 has a CVSS v3 base score of 6.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.

Running samba? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month