filelock is a platform-independent file lock for Python. From 3.10.0 until 4.2.1, filelock on Windows ignores the mode argument for WindowsFileLock files and the ReadWriteLock SQLite database. A lock created with mode=0o600 receives the parent directory's inheritable ACL because _open_non_reparse_fd and _nt_open do not create an owner-only security descriptor. Another local account with inherited access can read holder metadata or the lock database, modify those files where the ACL permits writes, or take the byte-range lock after release and delay later acquisitions. UnixFileLock is not affected, and mutual exclusion between cooperating processes continues to hold. This issue is fixed in version 4.2.1.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-732"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112910.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.10.0"
},
{
"fixed": "4.2.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "72786d41aa25159ad28c1bcf4291738b135b2c6c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e1e825b1992f69fb6b346dc395d5ae4893536c0a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "4.2.1",
"range": [
{
"fixed": "60331bb89f325020b48bc51bde904c6446384e4a"
}
],
"source": "REFERENCES_TAG"
}
]
}