CVE-2026-2340

Source
https://cve.org/CVERecord?id=CVE-2026-2340
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2340.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-2340
Downstream
ALPINE (1)
ALSA (3)
AZL (1)
CGA (42)
CLSA (1)
DEBIAN (1)
ECHO (1)
MINI (1)
openSUSE (3)
RHSA (9)
RLSA (2)
SUSE (11)
UBUNTU (1)
Related
Published
2026-05-27T12:09:32Z
Modified
2026-11-08T02:47:21Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Samba: vfs_worm does not block directory modification
Details

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.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-280"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2340.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "0:4.23.5-109.el10_2"
                        },
                        {
                            "fixed": "0:4.21.3-114.el10_0.1"
                        },
                        {
                            "fixed": "0:4.19.4-16.el8_10"
                        },
                        {
                            "fixed": "0:4.19.4-16.el8_10"
                        },
                        {
                            "fixed": "0:4.15.5-16.el8_6.1"
                        },
                        {
                            "fixed": "0:4.15.5-16.el8_6.1"
                        },
                        {
                            "fixed": "0:4.17.5-7.el8_8.1"
                        },
                        {
                            "fixed": "0:4.17.5-7.el8_8.1"
                        },
                        {
                            "fixed": "0:4.23.5-10.el9_8"
                        },
                        {
                            "fixed": "0:4.23.5-10.el9_8"
                        },
                        {
                            "fixed": "0:4.17.5-105.el9_2.5"
                        },
                        {
                            "fixed": "0:4.19.4-105.el9_4.4"
                        },
                        {
                            "fixed": "0:4.21.3-14.el9_6.1"
                        },
                        {
                            "fixed": "412.86.202608241157-0"
                        },
                        {
                            "fixed": "412.86.202609082051-0"
                        },
                        {
                            "fixed": "413.92.202609080414-0"
                        },
                        {
                            "fixed": "413.92.202609302032-0"
                        },
                        {
                            "fixed": "414.92.202608172040-0"
                        },
                        {
                            "fixed": "414.92.202609011250-0"
                        },
                        {
                            "fixed": "415.92.202608180329-0"
                        },
                        {
                            "fixed": "415.92.202609140326-0"
                        },
                        {
                            "fixed": "416.94.202608150307-0"
                        },
                        {
                            "fixed": "416.94.202609011112-0"
                        },
                        {
                            "fixed": "417.94.202608250221-0"
                        },
                        {
                            "fixed": "417.94.202609191027-0"
                        },
                        {
                            "fixed": "418.94.202608142238-0"
                        },
                        {
                            "fixed": "418.94.202609031320-0"
                        },
                        {
                            "fixed": "4.19.9.6.202606241344-0"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "InverseAffectedRanges"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/samba-team/samba

Affected ranges

Type
GIT
Repo
https://github.com/samba-team/samba
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "4.20.0"
                },
                {
                    "fixed": "4.22.10"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "4.23.0"
                },
                {
                    "fixed": "4.23.8"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "4.24.0"
                },
                {
                    "fixed": "4.24.3"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

samba-4.*
samba-4.23.0
samba-4.23.1
samba-4.23.2
samba-4.23.3
samba-4.23.4
samba-4.23.5
samba-4.23.6
samba-4.23.7
samba-4.24.0
samba-4.24.1
samba-4.24.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2340.json"