CVE-2026-2340
Last modified
CVE-2026-2340 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.94% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Samba | Samba | >= 4.20.0, < 4.22.10 |
| Samba | Samba | >= 4.23.0, < 4.23.8 |
| Samba | Samba | >= 4.24.0, < 4.24.3 |
| Redhat | Openshift Container Platform | >= 4.12, < 4.12.97 |
| Redhat | Openshift Container Platform | >= 4.13, < 4.13.71 |
| Redhat | Openshift Container Platform | >= 4.14, < 4.14.72 |
| Redhat | Openshift Container Platform | >= 4.15, < 4.15.68 |
| Redhat | Openshift Container Platform | >= 4.16, < 4.16.69 |
| Redhat | Openshift Container Platform | >= 4.17, < 4.17.57 |
| Redhat | Openshift Container Platform | >= 4.18, < 4.18.54 |
| Redhat | Openshift Container Platform | >= 4.19, < 4.19.36 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Redhat | Enterprise Linux | 10.0 |
References
- https://access.redhat.com/errata/RHSA-2026:22644Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:22963Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:25049Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:25979Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:28053Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:28054Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:28055Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:28056Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:28057Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:29863Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:56786Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:56853Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:56911Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:57483Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:59831Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:60019Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:62409Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:62549Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:65839Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:65851Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:65907Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:67857Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:70586Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:77320Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-2340Mitigation, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2447318Issue Tracking, Third Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=15997Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-2340?
How severe is CVE-2026-2340?
How do I fix CVE-2026-2340?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-23394In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2026-23395In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-23396In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23397In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-23398In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23399In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23400In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23401In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23402In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23403In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23404In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23405In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-2340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
