CVE-2026-2340: Samba: vfs_worm does not block directory modification
Noroxi assessment
Priority: Monitor (action score 26/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.93% (FIRST EPSS); higher than 60.6% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: ldb-tools (AlmaLinux:10) 4.23.5-109.el10_2; libldb (AlmaLinux:10) 4.23.5-109.el10_2; libldb-devel (AlmaLinux:10) 4.23.5-109.el10_2.
Low priority for now. Upgrade to ldb-tools (AlmaLinux:10) 4.23.5-109.el10_2; libldb (AlmaLinux:10) 4.23.5-109.el10_2; libldb-devel (AlmaLinux:10) 4.23.5-109.el10_2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2026-07421
- ALSA-2026:22963
- ALSA-2026:25049
- openSUSE-SU-2026:10884-1
- openSUSE-SU-2026:20905-1
- openSUSE-SU-2026:21540-1
- RHSA-2026:22644
- RHSA-2026:22963
- RHSA-2026:25049
- RHSA-2026:25979
- RHSA-2026:28053
- RHSA-2026:28054
- RHSA-2026:28055
- RHSA-2026:28056
- RHSA-2026:28057
- RLSA-2026:22963
- RLSA-2026:25049
- SUSE-SU-2026:22045-1
- SUSE-SU-2026:22080-1
- SUSE-SU-2026:23003-1
- Published
- May 27, 2026
- Updated
- Oct 15, 2026
- EPSS
- 0.9% · 60th percentile
- CWE
- CWE-280
Report tools
Action score
26
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 6.5
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| redhat | openshift container platform | cpe:2.3:a:redhat:openshift_container_platform |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redhat enterprise linux10.0
- redhat enterprise linux7.0
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat openshift container platform4.0
- samba samba4.1.0 and later
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 10
- 0:4.23.5-109.el10_2 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
- 0:4.21.3-114.el10_0.1 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 6
- all versionsunknown
- all versionsunknown
Red Hat Red Hat Enterprise Linux 7
- all versionsaffected
Red Hat Red Hat Enterprise Linux 8
- 0:4.19.4-16.el8_10 and laternot affected · rpm
- 0:4.19.4-16.el8_10 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- 0:4.15.5-16.el8_6.1 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- 0:4.15.5-16.el8_6.1 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- 0:4.17.5-7.el8_8.1 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- 0:4.17.5-7.el8_8.1 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9
- 0:4.23.5-10.el9_8 and laternot affected · rpm
- 0:4.23.5-10.el9_8 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- 0:4.17.5-105.el9_2.5 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- 0:4.19.4-105.el9_4.4 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | ldb-tools | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | libldb | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | libldb-devel | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | libnetapi | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | libnetapi-devel | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | libsmbclient | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | libsmbclient-devel | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | libwbclient | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | libwbclient-devel | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | python3-ldb | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | python3-samba | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | python3-samba-dc | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | python3-samba-test | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-client | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-client-libs | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-common | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-common-libs | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-common-tools | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-dc-libs | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-dcerpc | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-devel | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-gpupdate | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| AlmaLinux:10 | samba-krb5-printing | before 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
+96
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious cliKEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x befor66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, al66This week
Published before and after this one in the same product
- ← EarlierCVE-2026-3012May 27, 2026 · Samba: group policy certificate enrollment uses http:// without validation27Monitor
- ← EarlierCVE-2026-1933May 27, 2026 · Samba: missing access check on reparse point operations26Monitor
- Later →CVE-2026-4408May 28, 2026 · Samba: remote code execution in samr40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:ldb-tools | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libldb | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libldb-devel | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libnetapi | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libnetapi-devel | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libsmbclient | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libsmbclient-devel | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libwbclient | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libwbclient-devel | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:python3-ldb | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:python3-samba | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:python3-samba-dc | 4.23.5-109.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| alpine:samba | 4.22.10-r0 · Alpine:v3.23 | Package registry (OSV) |
| debian:samba | 2:4.17.12+dfsg-0+deb12u4 · Debian:12 | Package registry (OSV) |
| opensuse:samba | 4.23.8+git.477.f78166bceed-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:ctdb-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libnetapi-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libsmbclient-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libwbclient-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:python3-samba-dc-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:python3-samba-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:samba-client-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:samba-client-libs-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:samba-common-libs-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:samba-common-tools-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:samba-dc-libs-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:samba-dcerpc-debuginfo | 0:4.19.4-16.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:samba | 0:4.23.5-109.el10_2 · Rocky Linux:10 | Package registry (OSV) |
| suse:samba | 4.22.9+git.506.22c03ce0781-160000.1.1 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-280 · Improper Handling of Insufficient Permissions or PrivilegesCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
- SSVC exploitation— → none
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- access.redhat.com/errata/RHSA-2026:22963
- access.redhat.com/errata/RHSA-2026:25049
- access.redhat.com/errata/RHSA-2026:25979
- access.redhat.com/errata/RHSA-2026:28053
- access.redhat.com/errata/RHSA-2026:28054
- access.redhat.com/errata/RHSA-2026:28055
- access.redhat.com/errata/RHSA-2026:28056
- access.redhat.com/errata/RHSA-2026:28057
- access.redhat.com/errata/RHSA-2026:29863
- access.redhat.com/errata/RHSA-2026:56786
- access.redhat.com/errata/RHSA-2026:56853
- access.redhat.com/errata/RHSA-2026:56911
- access.redhat.com/errata/RHSA-2026:57483
- access.redhat.com/errata/RHSA-2026:59831
- access.redhat.com/errata/RHSA-2026:60019
- access.redhat.com/errata/RHSA-2026:62409
- access.redhat.com/errata/RHSA-2026:62549
- access.redhat.com/errata/RHSA-2026:65839
- access.redhat.com/errata/RHSA-2026:65851
Vendor advisories and official records. Exploit/PoC links are deliberately left out.