SB2026112345 - Multiple vulnerabilities in filelock



SB2026112345 - Multiple vulnerabilities in filelock

Published: November 23, 2026

Security Bulletin ID SB2026112345
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 30
Exploitation vector Local access
Highest impact Denial of service

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 30 vulnerabilities.


1) Improper Resource Locking (CVE-ID: N/A)

CWE-ID: CWE-413 - Improper Resource Locking

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to bypass exclusive write locking, potentially compromising the integrity or availability of the protected resource.

The vulnerability exists due to improper resource locking in ReadWriteLock when SQLite treats the shared lock database as read-only. A local user can interfere with the shared lock database using existing write access to cause two callers to obtain overlapping write locks.


2) Improper handling of exceptional conditions (CVE-ID: N/A)

CWE-ID: CWE-755 - Improper Handling of Exceptional Conditions

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service by blocking subsequent strict lock acquisitions on Windows.

The vulnerability exists due to improper handling of claim cleanup failures in StrictSoftFileLock.release() when releasing a strict lock on Windows. A local user can use read access to interfere with claim cleanup, leaving a claim that blocks subsequent acquisitions even after the read-only handle is closed.


3) Unverified Ownership (CVE-ID: N/A)

CWE-ID: CWE-283 - Unverified Ownership

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to bypass mutual exclusion between strict and soft file-lock clients on POSIX.

The vulnerability exists due to unverified sentinel ownership in StrictSoftFileLock when strict and soft clients share a lock path in a sticky directory. A local user can exploit the removal of a sentinel owned by another account to enter a critical section while another client still holds the lock.


4) Time-of-check Time-of-use (TOCTOU) Race Condition (CVE-ID: N/A)

CWE-ID: CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

CVSSv4: 4.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to overwrite a victim-owned file writable by the locking process.

The vulnerability exists due to a time-of-check time-of-use race condition in filelock's SQLite-backed ReadWriteLock when SQLite opens the lock database on POSIX. A local user can use rename access in a shared, non-sticky lock directory to redirect the victim's lock operation and overwrite a file.


5) Link following (CVE-ID: N/A)

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to read a file on the same filesystem that is otherwise inaccessible because of its enclosing directory permissions.

The vulnerability exists due to improper link resolution in StrictSoftFileLock publication on Unix when temporary-directory exhaustion during import causes a capability check to disable the safeguard against following symbolic links. A local user can abuse rename access in a shared, non-sticky lock directory to gain read access to the file.


6) Unverified Ownership (CVE-ID: N/A)

CWE-ID: CWE-283 - Unverified Ownership

CVSSv4: 1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to bypass write-lock exclusivity, allowing concurrent writes that may compromise data integrity.

The vulnerability exists due to insufficient ownership verification in SoftReadWriteLock on Linux when a replacement protocol directory reuses a trusted inode number while a lock instance remains active. A local user can exploit the ability to replace directories in the shared location to cause two processes to hold the write lock simultaneously.


7) Unverified Ownership (CVE-ID: N/A)

CWE-ID: CWE-283 - Unverified Ownership

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to break write-lock exclusivity without triggering a compromise notification.

The vulnerability exists due to incomplete directory trust checks in SoftReadWriteLock when a protocol directory in a shared sticky lock location on POSIX has a trusted owner but is writable by another account. A local user can use write access to that directory to cause two processes to hold the write lock concurrently.


8) Unrestricted Externally Accessible Lock (CVE-ID: N/A)

CWE-ID: CWE-412 - Unrestricted Externally Accessible Lock

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to delay lock acquisition beyond the requested timeout on Windows, even during a nonblocking acquisition.

The vulnerability exists due to an operating-system wait that bypasses timeout handling in StrictSoftFileLock when opening its sentinel file while an opportunistic lock is outstanding. A local user can use read access to an idle sentinel file to hold an opportunistic lock and stall another caller’s acquisition.


9) Improper Cleanup on Thrown Exception (CVE-ID: N/A)

CWE-ID: CWE-460 - Improper Cleanup on Thrown Exception

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to break mutual exclusion and let another process enter a protected section while the lock is still held.

The vulnerability exists due to improper cleanup in the asynchronous lock release handler when executor submission raises an exception after queuing the release. A local user can trigger a submission failure that leaves the queued release able to unlock the same lock instance during a later hold.


10) Incorrect permission assignment for critical resource (CVE-ID: N/A)

CWE-ID: CWE-732 - Incorrect Permission Assignment for Critical Resource

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to bypass mutual exclusion between strict and legacy soft locks that share a path.

The vulnerability exists due to incorrect permission assignment in StrictSoftFileLock when a new POSIX sentinel inherits group or other write permissions. A local user can interfere with the writable lock state to let a SoftFileLock client enter the protected section while the strict lock remains held.


11) Unrestricted Externally Accessible Lock (CVE-ID: N/A)

CWE-ID: CWE-412 - Unrestricted Externally Accessible Lock

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to delay stale soft-lock recovery on Windows beyond the caller’s acquisition timeout.

The vulnerability exists due to an unbounded wait in Windows stale soft-lock recovery when filelock renames a stale marker. A local user can use read access to the stale marker to hold a read-handle opportunistic lock and delay recovery.


12) Improper locking (CVE-ID: N/A)

CWE-ID: CWE-667 - Improper Locking

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to enter a protected section while another process still holds the lock, potentially compromising the integrity of shared data.

The vulnerability exists due to improper locking in filelock's Linux soft lock implementation when its stale-holder check mistakes an unrelated process with the same numeric process ID for the live holder because /proc is mounted from a different PID namespace. A local user can acquire a lock that has been incorrectly marked stale to enter the protected section concurrently with the live holder.


13) Time-of-check Time-of-use (TOCTOU) Race Condition (CVE-ID: N/A)

CWE-ID: CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to overwrite the beginning of an unrelated victim-owned file with holder-record data.

The vulnerability exists due to a time-of-check time-of-use race condition in the SoftReadWriteLock heartbeat when a reused inode number is mistaken for proof that the original holder-record file is still open. A local user can manipulate entries in a shared directory where they have rename permissions to cause an unintended overwrite on a filesystem that reuses inode numbers.


14) Infinite loop (CVE-ID: N/A)

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service by prolonging write-lock acquisition beyond its configured timeout and consuming CPU resources.

The vulnerability exists due to an unbounded scan in SoftReadWriteLock when scanning a growing generation log during write-lock acquisition, delaying the next deadline check. A local user can use write access to the lock's generation directory to keep the log growing and prolong the scan.


15) Time-of-check Time-of-use (TOCTOU) Race Condition (CVE-ID: N/A)

CWE-ID: CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to break write-lock exclusivity, potentially compromising the integrity or availability of protected operations.

The vulnerability exists due to a time-of-check to time-of-use race condition in ReadWriteLock when the shared SQLite database switches to write-ahead logging during lock acquisition. A local user can modify the shared lock database to allow two callers to enter their write critical sections concurrently.


16) Improper initialization (CVE-ID: N/A)

CWE-ID: CWE-665 - Improper Initialization

CVSSv4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to disrupt lock handling in a forked POSIX child by preventing it from resetting unrelated locks, including locks in private directories.

The vulnerability exists due to improper initialization in AsyncReadWriteLock when the constructor registers for fork cleanup before construction succeeds. A local user can trigger a constructor failure through an optional lock path to suppress unrelated lock resets if the process retains the failed construction and later forks.


17) Incorrect permission assignment for critical resource (CVE-ID: N/A)

CWE-ID: CWE-732 - Incorrect Permission Assignment for Critical Resource

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause unauthorized changes to an unrelated directory and disrupt access for other users.

The vulnerability exists due to incorrect permission assignment in StrictSoftFileLock when it mistakes an unrelated directory owned by the locking account for its coordination directory in a group-writable parent directory without the sticky bit. A local user can influence which directory the lock uses to cause it to change that directory's permissions and create a claims subdirectory.


18) Unverified Ownership (CVE-ID: N/A)

CWE-ID: CWE-283 - Unverified Ownership

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to bypass reader-writer lock exclusion by allowing a reader to proceed while a writer holds the lock.

The vulnerability exists due to unverified ownership in SoftReadWriteLock when a Linux user namespace reports the same overflow UID for unrelated host accounts. A local user can supply a lock protocol tree in a sticky directory shared with the host to have it accepted as trusted and bypass reader-writer exclusion.


19) External Control of File Name or Path (CVE-ID: N/A)

CWE-ID: CWE-73 - External Control of File Name or Path

CVSSv4: 1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause unauthorized deletion of a private file.

The vulnerability exists due to external control of a file path in filelock’s ReadWriteLock when it opens a database with an untrusted SQLite journal left over from a previously shared directory. A local user can abuse the leftover journal to cause the locking account to delete an unrelated file that it has permission to read and remove.


20) Time-of-check Time-of-use (TOCTOU) Race Condition (CVE-ID: N/A)

CWE-ID: CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to break mutual exclusion, letting one caller enter a critical section while another still holds the lock.

The vulnerability exists due to a time-of-check to time-of-use race in SoftFileLock when recovery of a stale marker can expose a foreign-owned record at the public lock path. A local user can create entries in a shared sticky lock directory on a POSIX filesystem that supports atomic name exchange to interfere with recovery and cause two callers to hold the lock concurrently.


21) Insufficient verification of data authenticity (CVE-ID: N/A)

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to compromise the integrity and availability of lock-protected operations by defeating mutual exclusion.

The vulnerability exists due to insufficient verification of recovery records in SoftFileLock when checking whether a break record is abandoned on POSIX filesystems that support atomic name exchange. A local user can interfere with concurrent lock recovery in a writable shared lock directory to cause two holders to enter the same critical section.


22) Externally Controlled Reference to a Resource in Another Sphere (CVE-ID: N/A)

CWE-ID: CWE-610 - Externally Controlled Reference to a Resource in Another Sphere

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause the deletion of unrelated empty directories owned by the locking account.

The vulnerability exists due to insufficient verification of directory references in filelock's ReadWriteLock when cleaning up lock directories on POSIX. A local user can interfere with cleanup through a shared parent directory that lacks the sticky bit to cause deletion outside the lock's directory tree.


23) Resource exhaustion (CVE-ID: N/A)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to delay strict lock acquisition on Windows beyond its configured timeout.

The vulnerability exists due to uncontrolled resource consumption in StrictSoftFileLock when handling an aged private record left by an interrupted acquisition. A local user can use read-only access to the shared claims directory while that record remains present to stall a subsequent lock acquisition.


24) Excessive Iteration (CVE-ID: N/A)

CWE-ID: CWE-834 - Excessive Iteration

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to delay task cancellation and application shutdown on Windows beyond the task deadline, up to the lock's own timeout.

The vulnerability exists due to excessive iteration in the AsyncReadWriteLock acquisition worker when it continues retrying after cancellation. A local user can interfere with access to a readable SQLite lock database through a Windows opportunistic lock to delay cancellation of a pending acquisition.


25) Insecure DLL loading (CVE-ID: N/A)

CWE-ID: CWE-427 - Uncontrolled Search Path Element

CVSSv4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to prevent recovery of a soft lock on Windows after its holder exits, even when the lock is in a private directory.

The vulnerability exists due to an uncontrolled search path element in SoftFileLock and MarkerSoftFileLock when the Linux PID namespace probe runs on Windows. A local user can influence the recorded owner identity to make later processes treat the dead owner's lock as held remotely and leave it unavailable.


26) Use of Blocking Code in Single-threaded, Non-blocking Context (CVE-ID: N/A)

CWE-ID: CWE-1322 - Use of Blocking Code in Single-threaded, Non-blocking Context

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to delay lock acquisition past its deadline and stall unrelated event-loop tasks when the async executor is disabled.

The vulnerability exists due to blocking handling of opportunistic lock conflicts in filelock's Windows lock acquisition code when a nonblocking or short-timeout acquisition is attempted. A local user can interfere with acquisition of a lock file they can read to delay the call and, if it runs on the event loop, stall unrelated tasks.


27) Insufficient Resource Pool (CVE-ID: N/A)

CWE-ID: CWE-410 - Insufficient Resource Pool

CVSSv4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service by stalling the release of unrelated private locks in the same process.

The vulnerability exists due to an insufficient worker pool in the default executor used by AsyncSoftReadWriteLock when concurrent lock waits occupy all workers needed for releases. A local user can influence contention on accessible lock paths to delay the release of private locks.


28) Allocation of Resources Without Limits or Throttling (CVE-ID: N/A)

CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to delay read-write lock initialization and acquisition past the requested timeout even when the lock is free, and to stall other asynchronous tasks.

The vulnerability exists due to unbounded directory scanning in the SQLite read-write lock backend when cleaning up dead lock holders on POSIX. A local user can influence the contents of the writable parent directory of the lock database to delay lock operations and block the event loop during asynchronous lock initialization.


29) Excessive Iteration (CVE-ID: N/A)

CWE-ID: CWE-834 - Excessive Iteration

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to degrade shared lock availability by delaying nonblocking and timed acquisitions and increasing the caller's memory use.

The vulnerability exists due to excessive iteration in StrictSoftFileLock when it examines claim records during acquisition. A local user can use write access to the claims directory to crowd it and slow lock acquisition.


30) Inefficient Algorithmic Complexity (CVE-ID: N/A)

CWE-ID: CWE-407 - Inefficient Algorithmic Complexity

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to delay acquisition of a free lock beyond the configured timeout.

The vulnerability exists due to inefficient algorithmic complexity in the SQLite backend when ReadWriteLock or AsyncReadWriteLock loads the lock database schema. A local user can create or modify a writable lock database to make schema loading consume CPU beyond the acquisition timeout.


Remediation

Install update from vendor's website.

References