ALPINE-CVE-2026-2340
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.
ALPINE-CVE-2026-2340
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:ALPINE-CVE-2026-2340
samba
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 4.22.10-r0
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
samba
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 4.23.8-r0
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.22.10-r0"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:apk/alpine/samba?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-2340.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.23.8-r0"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:apk/alpine/samba?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-2340.json"
},
"ecosystem_specific": {}
}
]Publisher severity
No explicit severity was provided.
- Event
- #54175 · Revision 1
- Added to Heist Feed
- Publisher date