
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-112910 is a Windows file permission vulnerability in the filelock Python library (tox-dev/filelock) where the mode argument is silently ignored for WindowsFileLock files and the ReadWriteLock SQLite database. Affected versions are 3.10.0 through 4.2.0 on Windows; UnixFileLock is not affected. The flaw was reported privately by Anthropic's OSS Scanner on October 15, 2026, and publicly disclosed via GitHub Security Advisory GHSA-8mx5-7m5m-r77g on October 28, 2026. It carries a CVSS v3.1 base score of 5.3 (Medium) (GitHub Advisory, filelock Release 4.2.1).
The root cause is classified as CWE-732 (Incorrect Permission Assignment for Critical Resource) and CWE-279 (Incorrect Execution-Assigned Permissions). In the Windows backend, _open_non_reparse_fd reduces the mode argument to a single read-only bit and passes it to _nt_open, which constructs an OBJECT_ATTRIBUTES structure with SecurityDescriptor=NULL. When NtCreateFile is called with a NULL security descriptor, Windows NTFS assigns the new file the inheritable ACL entries of its parent directory rather than an owner-only descriptor — meaning a lock created with mode=0o600 receives the same ACL as one created with no mode at all. The ReadWriteLock SQLite database, which filelock internally requests with mode=0o600, is affected by the same code path. The bug was introduced in commit d0061e4 (PR #192, 2023-03-15) when multiuser support was added, making it a long-standing gap present since version 3.10.0 (GitHub Advisory, Fix PR #835).
A local account on the same Windows host that has inherited read access to the lock directory can open the lock file or ReadWriteLock database that was intended to be owner-only. With read access, the attacker can read holder metadata written by an on_acquired hook (e.g., via preserve_lock_file=True), and can acquire the byte-range lock after the owner releases it, causing the legitimate owner's subsequent acquire() calls to wait or time out (availability impact). Where the parent directory's inheritable ACL grants modify access, the attacker can also write to both the lock file and the lock database, corrupting lock state (integrity impact). Mutual exclusion between cooperating processes that follow the protocol is not broken, and the impact is scoped to the lock file and database only — not to the resources the lock protects (GitHub Advisory).
A proof-of-concept reproducer is publicly available in the GitHub Security Advisory. The PoC demonstrates — using Win32 call stand-ins on Linux — that NtCreateFile receives SecurityDescriptor=None regardless of whether mode=0o600 is specified, and that the two call traces are identical. The maintainers independently confirmed the issue on Windows 11 with two local accounts. Exploitation requires a local logon on the same host and low privileges (an ordinary user account suffices); no user interaction or race condition is needed. The EPSS score is approximately 0.0016, and there is no evidence of in-the-wild exploitation or CISA KEV catalog listing at this time (GitHub Advisory, Feedly).
filelock versions 3.10.0–4.2.0 with FileLock(path, mode=0o600) or ReadWriteLock, and that the lock directory has inheritable ACL entries granting the attacker's local account read (or modify) access to newly created files (e.g., a service data directory readable by the Users group).preserve_lock_file=True) or the ReadWriteLock SQLite database (never unlinked). These files inherit the directory ACL and are accessible to the attacker's account.on_acquired hook (e.g., PID, hostname, or application-specific data stored in a preserve_lock_file=True file).LockFileEx on it. Per Windows documentation, read access is sufficient to take a byte-range lock, allowing the attacker to hold the lock and cause the legitimate owner's subsequent acquire() calls to block or time out.ReadWriteLock database for writing and corrupt their contents, disrupting the lock's internal state for the owning process (GitHub Advisory)..lock extension) or ReadWriteLock SQLite databases in shared directories showing ACL entries for accounts other than the owner, SYSTEM, and Administrators (verify with icacls <lockfile>); absence of an explicit DACL (only inherited (I) entries) on lock files created with mode=0o600 on filelock versions 3.10.0–4.2.0.Timeout exceptions or prolonged blocking on acquire() calls, potentially indicating another local account is holding the byte-range lock.Patch: Upgrade filelock to version 4.2.1 or later, which fixes the issue by constructing a protected DACL (granting owner, SYSTEM, and Administrators full access) via ConvertStringSecurityDescriptorToSecurityDescriptorW when mode has no group or other bits (e.g., 0o600), and passing it in the NtCreateFile object attributes (filelock Release 4.2.1, Fix PR #835).
Workarounds (if immediate patching is not possible):
ReadWriteLock databases in a directory whose ACL already excludes other accounts (e.g., inside the user profile, or a directory with inheritance disabled and only the owner, SYSTEM, and Administrators granted access).preserve_lock_file=True or a ReadWriteLock database, manually set its ACL: icacls <lockfile> /inheritance:r /grant:r "<OWNER>:F" "SYSTEM:F" "Administrators:F".on_acquired hooks on Windows (GitHub Advisory).The vulnerability was reported by Anthropic's automated OSS Scanner and credited in the advisory, representing a notable example of AI-assisted open-source security research. The filelock maintainer (gaborbernat) responded promptly, opening a fix PR within hours of receiving the report and publishing the patched release 4.2.1 on October 17, 2026 — two days after the private report. The release addressed 17 CVEs simultaneously, indicating a broad security audit of the library. The fix was noted in downstream projects such as Apache Superset and verifywise-ai, and was picked up by security aggregators including Tenable, Red Hat Bugzilla, and Microsoft's MSRC (GitHub Advisory, filelock Release 4.2.1).
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
python-filelock
devel
python-filelock
focal (esm-apps)
python-filelock
jammy
python-filelock
jammy (esm-apps)
python-filelock
noble
python-filelock
noble (esm-apps)
python-filelock
resolute
python-filelock
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."