CVE-2026-2340 Samba: vfs_worm does not block directory modification
MediumCVSS 6.5
EPSS 0.95%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | < 0:4.23.5-109.el10_2 | 0:4.23.5-109.el10_2 |
| redhat enterprise linux eus | < 0:4.21.3-114.el10_0.1 | 0:4.21.3-114.el10_0.1 |
| redhat enterprise linux | < 0:4.19.4-16.el8_10 | 0:4.19.4-16.el8_10 |
| redhat rhel aus | < 0:4.15.5-16.el8_6.1 | 0:4.15.5-16.el8_6.1 |
| redhat rhel eus long life | < 0:4.15.5-16.el8_6.1 | 0:4.15.5-16.el8_6.1 |
| redhat rhel e4s | < 0:4.17.5-7.el8_8.1 | 0:4.17.5-7.el8_8.1 |
| redhat rhel tus | < 0:4.17.5-7.el8_8.1 | 0:4.17.5-7.el8_8.1 |
| redhat enterprise linux | < 0:4.23.5-10.el9_8 | 0:4.23.5-10.el9_8 |
| redhat rhel e4s | < 0:4.17.5-105.el9_2.5 | 0:4.17.5-105.el9_2.5 |
| redhat rhel e4s | < 0:4.19.4-105.el9_4.4 | 0:4.19.4-105.el9_4.4 |
| redhat rhel eus | < 0:4.21.3-14.el9_6.1 | 0:4.21.3-14.el9_6.1 |
| redhat openshift | < 412.86.202608241157-0 | 412.86.202608241157-0 |
| redhat openshift | < 412.86.202609082051-0 | 412.86.202609082051-0 |
| redhat openshift | < 413.92.202609080414-0 | 413.92.202609080414-0 |
| redhat openshift | < 413.92.202609302032-0 | 413.92.202609302032-0 |
| redhat openshift | < 414.92.202608172040-0 | 414.92.202608172040-0 |
| redhat openshift | < 414.92.202609011250-0 | 414.92.202609011250-0 |
| redhat openshift | < 415.92.202608180329-0 | 415.92.202608180329-0 |
| redhat openshift | < 415.92.202609140326-0 | 415.92.202609140326-0 |
| redhat openshift | < 416.94.202608150307-0 | 416.94.202608150307-0 |
| redhat openshift | < 416.94.202609011112-0 | 416.94.202609011112-0 |
| redhat openshift | < 417.94.202608250221-0 | 417.94.202608250221-0 |
| redhat openshift | < 417.94.202609191027-0 | 417.94.202609191027-0 |
| redhat openshift | < 418.94.202608142238-0 | 418.94.202608142238-0 |
| redhat openshift | < 418.94.202609031320-0 | 418.94.202609031320-0 |
Show 106 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat openshift | < 4.19.9.6.202606241344-0 | 4.19.9.6.202606241344-0 |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | All versions | No fix listed |
| redhat/samba(Red Hat:enterprise_linux:10.2) | < 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| redhat/samba(Red Hat:enterprise_linux_eus:10.0) | < 4.21.3-114.el10_0.1 | 4.21.3-114.el10_0.1 |
| redhat/samba(Red Hat:enterprise_linux:8) | < 4.19.4-16.el8_10 | 4.19.4-16.el8_10 |
| redhat/samba(Red Hat:rhel_aus:8.6) | < 4.15.5-16.el8_6.1 | 4.15.5-16.el8_6.1 |
| redhat/samba(Red Hat:rhel_eus_long_life:8.6) | < 4.15.5-16.el8_6.1 | 4.15.5-16.el8_6.1 |
| redhat/samba(Red Hat:rhel_tus:8.8) | < 4.17.5-7.el8_8.1 | 4.17.5-7.el8_8.1 |
| redhat/samba(Red Hat:rhel_e4s:8.8) | < 4.17.5-7.el8_8.1 | 4.17.5-7.el8_8.1 |
| redhat/samba(Red Hat:enterprise_linux:9) | < 4.23.5-10.el9_8 | 4.23.5-10.el9_8 |
| redhat/samba(Red Hat:rhel_e4s:9.2) | < 4.17.5-105.el9_2.5 | 4.17.5-105.el9_2.5 |
| redhat/samba(Red Hat:rhel_e4s:9.4) | < 4.19.4-105.el9_4.4 | 4.19.4-105.el9_4.4 |
| redhat/samba(Red Hat:rhel_eus:9.6) | < 4.21.3-14.el9_6.1 | 4.21.3-14.el9_6.1 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.12::el8) | < 8:412.86.202608241157-0 | 8:412.86.202608241157-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.12::el8) | < 8:412.86.202609082051-0 | 8:412.86.202609082051-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.13::el9) | < 9:413.92.202609080414-0 | 9:413.92.202609080414-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.13::el9) | < 9:413.92.202609302032-0 | 9:413.92.202609302032-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.14::el9) | < 9:414.92.202608172040-0 | 9:414.92.202608172040-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.14::el9) | < 9:414.92.202609011250-0 | 9:414.92.202609011250-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.15::el9) | < 9:415.92.202608180329-0 | 9:415.92.202608180329-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.15::el9) | < 9:415.92.202609140326-0 | 9:415.92.202609140326-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.16::el9) | < 9:416.94.202608150307-0 | 9:416.94.202608150307-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.16::el9) | < 9:416.94.202609011112-0 | 9:416.94.202609011112-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.17::el9) | < 9:417.94.202608250221-0 | 9:417.94.202608250221-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.17::el9) | < 9:417.94.202609191027-0 | 9:417.94.202609191027-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.18::el9) | < 9:418.94.202608142238-0 | 9:418.94.202608142238-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.18::el9) | < 9:418.94.202609031320-0 | 9:418.94.202609031320-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.19::el9) | < 9:4.19.9.6.202606241344-0 | 9:4.19.9.6.202606241344-0 |
| redhat/samba(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/samba4(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/samba(Red Hat:rhel_els:7) | All versions | No fix listed |
| debian/samba(Debian:12) | < 2:4.17.12+dfsg-0+deb12u4 | 2:4.17.12+dfsg-0+deb12u4 |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.11+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u3 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2.1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3~bpo11+1 | No fix listed |
| debian/samba(Debian:13) | < 2:4.22.8+dfsg-0+deb13u2 | 2:4.22.8+dfsg-0+deb13u2 |
| debian/samba(Debian:13) | = 2:4.22.3+dfsg-4 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1~deb13u1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1~deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.6+dfsg-0+deb13u1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.6+dfsg-0+deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.8+dfsg-0+deb13u1 | No fix listed |
| debian/samba(Debian:14) | < 2:4.24.3+dfsg-1 | 2:4.24.3+dfsg-1 |
| debian/samba(Debian:14) | = 2:4.22.3+dfsg-4 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1~deb13u1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1~deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-2 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-3 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc3+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.3+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.3+dfsg-1~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.4+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.4+dfsg-1~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.5+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.5+dfsg-1~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.6+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.6+dfsg-2 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.6+dfsg-2~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0~rc1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0~rc1+dfsg-2 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0~rc1+dfsg-3 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0~rc2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.2+dfsg-1~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.3+dfsg-1~bpo13+1 | No fix listed |
| ubuntu/samba(Ubuntu:22.04) | < 2:4.15.13+dfsg-0ubuntu1.12 | 2:4.15.13+dfsg-0ubuntu1.12 |
| ubuntu/samba(Ubuntu:24.04) | < 2:4.19.5+dfsg-4ubuntu9.6 | 2:4.19.5+dfsg-4ubuntu9.6 |
| ubuntu/samba(Ubuntu:26.04) | < 2:4.23.6+dfsg-1ubuntu2.1 | 2:4.23.6+dfsg-1ubuntu2.1 |
| samba | >= 4.20.0, < 4.22.10 | 4.22.10 |
| samba | >= 4.23.0, < 4.23.8 | 4.23.8 |
| samba | >= 4.24.0, < 4.24.3 | 4.24.3 |
| redhat openshift container platform | >= 4.12, < 4.12.97 | 4.12.97 |
| redhat openshift container platform | >= 4.13, < 4.13.71 | 4.13.71 |
| redhat openshift container platform | >= 4.14, < 4.14.72 | 4.14.72 |
| redhat openshift container platform | >= 4.15, < 4.15.68 | 4.15.68 |
| redhat openshift container platform | >= 4.16, < 4.16.69 | 4.16.69 |
| redhat openshift container platform | >= 4.17, < 4.17.57 | 4.17.57 |
| redhat openshift container platform | >= 4.18, < 4.18.54 | 4.18.54 |
| redhat openshift container platform | >= 4.19, < 4.19.36 | 4.19.36 |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| redhat enterprise linux | = 10.0 | No fix listed |
| alpine/samba(Alpine:v3.23) | >= 4.20.0, < 4.22.10-r0 | 4.22.10-r0 |
| alpine/samba(Alpine:v3.24) | >= 4.23.0, < 4.23.8-r0 | 4.23.8-r0 |
| azure linux samba(Azure Linux:4.0) | < 2:4.23.13-3.azl4 | 2:4.23.13-3.azl4 |
References
- RHSA-2026:22644 patch third-party-advisory vendor-advisory
- RHSA-2026:22963 patch third-party-advisory vendor-advisory
- RHSA-2026:25049 patch third-party-advisory vendor-advisory
- RHSA-2026:25979 patch third-party-advisory vendor-advisory
- RHSA-2026:28053 patch third-party-advisory vendor-advisory
- RHSA-2026:28054 patch third-party-advisory vendor-advisory
- RHSA-2026:28055 patch third-party-advisory vendor-advisory
- RHSA-2026:28056 patch third-party-advisory vendor-advisory
- RHSA-2026:28057 patch third-party-advisory vendor-advisory
- RHSA-2026:29863 patch third-party-advisory vendor-advisory
- RHSA-2026:56786 patch third-party-advisory vendor-advisory
- RHSA-2026:56853 patch third-party-advisory vendor-advisory
- RHSA-2026:56911 patch third-party-advisory vendor-advisory
- RHSA-2026:57483 patch third-party-advisory vendor-advisory
- RHSA-2026:59831 patch third-party-advisory vendor-advisory
- RHSA-2026:60019 patch third-party-advisory vendor-advisory
- RHSA-2026:62409 patch third-party-advisory vendor-advisory
- RHSA-2026:62549 patch third-party-advisory vendor-advisory
- RHSA-2026:65839 patch third-party-advisory vendor-advisory
- RHSA-2026:65851 patch third-party-advisory vendor-advisory
- RHSA-2026:65907 patch third-party-advisory vendor-advisory
- RHSA-2026:67857 patch third-party-advisory vendor-advisory
- RHSA-2026:70586 patch third-party-advisory vendor-advisory
- RHSA-2026:77320 patch third-party-advisory vendor-advisory
- Red Hat CVE page mitigation third-party-advisory vdb-entry vendor-advisory
- RHBZ#2447318 issue-tracking third-party-advisory
- bugzilla.samba.org issue-tracking vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-2340 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8306-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory