Improper Handling of Insufficient Permissions or Privileges Affecting samba package, versions <4.24.3-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.94% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-SAMBA-17310996
  • published11 Jun 2026
  • disclosed27 May 2026

Introduced: 27 May 2026

CVE-2026-2340  (opens in a new tab)
CWE-280  (opens in a new tab)

How to fix?

Upgrade Wolfi samba to version 4.24.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba package and not the samba package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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 Base Scores

version 3.1