Upstream information
Description
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.SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having moderate severity.
| CVSS detail | CNA (GitHub) | SUSE |
|---|---|---|
| Base Score | 5.3 | 5.3 |
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H |
| Attack Vector | Local | Local |
| Attack Complexity | High | High |
| Privileges Required | Low | Low |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | None | None |
| Integrity Impact | Low | Low |
| Availability Impact | High | High |
| CVSSv3 Version | 3.1 | 3.1 |
| CVSS detail | SUSE |
|---|---|
| Base Score | 5.8 |
| Vector | CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N |
| Attack Vector | Local |
| Attack Complexity | High |
| Attack Requirements | Present |
| Privileges Required | Low |
| User Interaction | None |
| Vulnerable System Confidentiality Impact | None |
| Vulnerable System Integrity Impact | Low |
| Vulnerable System Availability Impact | High |
| Subsequent System Confidentiality Impact | None |
| Subsequent System Integrity Impact | None |
| Subsequent System Availability Impact | None |
| CVSSv4 Version | 4.0 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Desktop 15 SP7 | python-filelock | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | python-filelock | Affected |
| SUSE Linux Enterprise Server 15 SP7 | python-filelock | Affected |
| SUSE Linux Enterprise Server 16.0 | python-filelock | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | python-filelock | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | python-filelock | Affected |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 15 SP4 | python-filelock | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | python-filelock | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | python-filelock | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | python-filelock | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP4 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP5 | python-filelock | Affected |
| SUSE Linux Enterprise Server 15 SP4 | python-filelock | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | python-filelock | Affected |
| SUSE Linux Enterprise Server 15 SP5 | python-filelock | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | python-filelock | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | python-filelock | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | python-filelock | Affected |
| SUSE Manager Proxy 4.3 | python-filelock | Affected |
| SUSE Manager Retail Branch Server 4.3 | python-filelock | Affected |
| SUSE Manager Server 4.3 | python-filelock | Affected |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE Linux Enterprise Desktop 15 SP4 | python-filelock | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | python-filelock | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | python-filelock | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | python-filelock | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | python-filelock | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | python-filelock | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | python-filelock | Affected |
| SUSE Linux Enterprise Server 15 SP6 | python-filelock | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | python-filelock | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | python-filelock | Affected |
| openSUSE Leap 15.3 | python-filelock | Affected |
| openSUSE Leap 15.4 | python-filelock | Affected |
| openSUSE Leap 15.5 | python-filelock | Affected |
| openSUSE Leap 15.6 | python-filelock | Affected |
| Products at an unknown state of their lifecycle. | ||
| SUSE Linux Enterprise Server for SAP Applications 16.0 | python-filelock | Affected |
SUSE Timeline for this CVE
CVE page created: Sat Jan 10 08:00:14 2026CVE page last modified: Mon Jan 12 12:42:36 2026