CVE-2026-144387
Description
A flaw was found in filelock. A local attacker with write access to a SoftReadWriteLock generation directory can cause lock acquisition scanning to continue past its intended timeout. This behavior allows an attacker to consume excessive CPU resources, leading to a denial of service (DoS).
Statement
This flaw is evaluated as Low severity because exploitation requires local system access with write permissions to the lock generation directory, limiting the risk to localized CPU consumption rather than system-wide denial of service or code execution. In typical Red Hat Enterprise Linux and containerized deployments, Python applications utilizing filelock run under restricted service accounts or isolated file system spaces, which mitigates widespread exposure. Consequently, unprivileged or remote attackers cannot trigger this issue without prior local write access.
Mitigation
To mitigate this issue, restrict write permissions on the directory used for lock generation so that only authorized service accounts or processes can access it.
Set restrictive permissions on the designated lock directory:
chmod 700 /path/to/lock_directory
Caveats:
Restricting access to the lock directory prevents unauthorized local accounts from manipulating generation files, but may disrupt legitimate multi-user applications if untrusted processes require shared lock access. Restart any running applications using the affected lock directory after modifying permissions.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 3.3 | N/A | 3.3 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | Low | N/A | Low |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | Low | N/A | Low |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Amplification
An infinite loop will cause unexpected consumption of resources, such as CPU cycles or memory. The software's operation may slow down, or cause a long time to respond.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.