filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, soft lock classes on Windows read an existing marker with _read_lock_file and remove a stale marker through break_lock_file using pathname operations that wait for an oplock break. Another local account with read access to an unheld marker can keep a Level 1 or batch oplock unanswered, causing SoftFileLock.acquire and related async or fallback locks to wait beyond timeout, blocking=False, and cancel_check. A stale marker under the oplock cannot be broken, but mutual exclusion remains intact and no file other than the marker is accessed. This issue is fixed in version 4.2.1.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-667"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112907.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.22.0"
},
{
"fixed": "4.2.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "97d694a9a3ee1721d6c79a480174dfd9b060a080"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e1e825b1992f69fb6b346dc395d5ae4893536c0a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "4.2.1",
"range": [
{
"fixed": "60331bb89f325020b48bc51bde904c6446384e4a"
}
],
"source": "REFERENCES_TAG"
}
]
}