SCA: security update for filelock (GHSA-qmgc-5h2g-mvrw)

medium Tenable Cloud Security Plugin ID 436715

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition
vulnerability exists in the SoftFileLock implementation of the filelock package. An attacker with local
filesystem access and permission to create symlinks can exploit a race condition between the permission
validation and file creation to cause lock operations to fail or behave unexpectedly. The vulnerability
occurs in the _acquire() method between raise_on_not_writable_file() (permission check) and os.open()
(file creation). During this race window, an attacker can create a symlink at the lock file path,
potentially causing the lock to operate on an unintended target file or leading to denial of service. This
issue has been patched in version 3.20.3. (CVE-2026-22701)

See Also

https://github.com/advisories/GHSA-qmgc-5h2g-mvrw

Plugin Details

Severity: Medium

ID: 436715

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 1/13/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 52.03

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.5

Temporal Score: 3.3

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:P/A:C

CVSS Score Source: CVE-2026-22701

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/13/2026

Vulnerability Publication Date: 1/10/2026

Reference Information

CVE: CVE-2026-22701