← Vulnerability feed

Vulnerability record · CVE-2026-2340 · published 27 May 2026

CVE-2026-2340: Samba vulnerability

Samba · Samba

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.

6.5 CVSS 3.1 Medium EPSS 0.95% · top 37.9% CWE-280 · CWE-280
6.5CVSS 3.1 base score
0.95%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
27References
6 Nov 2026Last modified by 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.

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

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://access.redhat.com/errata/RHSA-2026:22644 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:22963 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:25049 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:25979 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:28053 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:28054 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:28055 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:28056 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:28057 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:29863 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:56786 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:56853 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:56911 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:57483 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:59831 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:60019 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:62409 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:62549 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:65839 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:65851 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:65907 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:67857 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:70586 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:77320 Third Party Advisory
https://access.redhat.com/security/cve/CVE-2026-2340 MitigationThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2447318 Issue TrackingThird Party Advisory
https://bugzilla.samba.org/show_bug.cgi?id=15997 Issue TrackingVendor Advisory

Track CVE-2026-2340 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2019-7609Kibana Timelion visualizer code injection enables remote code executionKibana before 5.6.15 and 6.6.1 contains an arbitrary code execution flaw in the Timelion visualizer. An attacker who can reach the Timelion applicati…KEVEPSS 95%analysed9.9CVE-2019-1003029Jenkins Script Security Plugin sandbox bypass allows code executionThe Jenkins Script Security Plugin 1.53 and earlier fails to properly enforce its Groovy sandbox in GroovySandbox.java and SecureGroovyScript.java, l…KEVEPSS 74%analysed9.9CVE-2019-1003030Jenkins Pipeline Groovy Plugin sandbox bypass allows arbitrary code executionThe Jenkins Pipeline: Groovy Plugin (2.63 and earlier) contains a sandbox bypass in CpsGroovyShell.java. Attackers who can control pipeline scripts c…KEVEPSS 97%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2018-1000861Jenkins Stapler framework URL routing allows remote code executionThe Stapler web framework in Jenkins 2.153 and earlier and LTS 2.138.3 and earlier lets attackers invoke unintended Java methods by requesting crafte…KEVEPSS 98%analysed9.8CVE-2018-14667RichFaces Framework EL injection enables unauthenticated remote code executionRichFaces Framework 3.X through 3.3.4 is vulnerable to Expression Language injection through the UserResource resource. A remote, unauthenticated att…KEVEPSS 71%analysed9.8CVE-2017-7494Samba writable share library upload leads to remote code executionSamba versions from 3.5.0 up to (but not including) 4.6.4, 4.5.10 and 4.4.14 allow a malicious client to upload a shared library to a writable share …KEVEPSS 99%analysed9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2026-2340), CISA KEV, FIRST EPSS (scores of 2026-11-23). This page is refreshed as NVD updates the record.