CVE-2026-2340: Improper Handling of Insufficient Permissions or Privileges in Red Hat Red Hat Enterprise Linux 10
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.
AI Analysis
Technical Summary
The Samba vfs_worm module is designed to enforce WORM protections by preventing file modifications after a configurable grace period. However, CVE-2026-2340 arises because the module does not properly validate rename operations, allowing an authenticated user with write permissions to rename a newly created file over an existing WORM-protected file, effectively overwriting it. This flaw compromises the intended immutability of protected files. Red Hat has issued a security advisory and released patches for Red Hat Enterprise Linux 10 to fix this issue.
Potential Impact
An authenticated user with write access to a Samba share can bypass WORM protections and overwrite files that should be immutable, potentially leading to unauthorized data modification. The vulnerability does not impact confidentiality or availability but has a high impact on integrity. The CVSS v3.1 base score is 6.5 (medium severity), reflecting the ease of exploitation with low attack complexity and no user interaction required.
Mitigation Recommendations
Red Hat has released an official security update that addresses CVE-2026-2340. Users of Red Hat Enterprise Linux 10 should apply the available patches to versions 10.2 or later as detailed in the Red Hat advisory (https://access.redhat.com/articles/11258). No additional mitigations are required beyond applying the official fix.
CVE-2026-2340: Improper Handling of Insufficient Permissions or Privileges in Red Hat Red Hat Enterprise Linux 10
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 v3.1
Score 6.5medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Samba vfs_worm module is designed to enforce WORM protections by preventing file modifications after a configurable grace period. However, CVE-2026-2340 arises because the module does not properly validate rename operations, allowing an authenticated user with write permissions to rename a newly created file over an existing WORM-protected file, effectively overwriting it. This flaw compromises the intended immutability of protected files. Red Hat has issued a security advisory and released patches for Red Hat Enterprise Linux 10 to fix this issue.
Potential Impact
An authenticated user with write access to a Samba share can bypass WORM protections and overwrite files that should be immutable, potentially leading to unauthorized data modification. The vulnerability does not impact confidentiality or availability but has a high impact on integrity. The CVSS v3.1 base score is 6.5 (medium severity), reflecting the ease of exploitation with low attack complexity and no user interaction required.
Mitigation Recommendations
Red Hat has released an official security update that addresses CVE-2026-2340. Users of Red Hat Enterprise Linux 10 should apply the available patches to versions 10.2 or later as detailed in the Red Hat advisory (https://access.redhat.com/articles/11258). No additional mitigations are required beyond applying the official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-02-11T12:29:16.340Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-2340","vendor":"Red Hat"}]
Threat ID: 6a16f9cde29bf47b50c0e683
Added to database: 05/27/2026, 14:03:57 UTC
Last enriched: 07/02/2026, 23:09:27 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.