Skip to main content
VulnerabilityPublished Updated

CVE-2026-112910: Python filelock · From 3.10.0 until 4.2.1, filelock on Windows ignores the mode argument for

Affects python-filelockSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112910· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 4.2.1 : update python-filelock when convenient.

Data as of 18 Nov 2026, 15:20 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.3
Patch
Available – fixed in 4.2.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-filelockpkg:deb/ubuntu/python-filelock?arch=source&distro=stonkingOther threatsAffected
  • 3.20.3-1 – 3.32.2-1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSpython-filelockpkg:deb/ubuntu/python-filelock?arch=source&distro=resoluteOther threatsAffected
  • 3.18.0-1 – 3.20.3-1
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSpython-filelockpkg:deb/ubuntu/python-filelock?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 3.12.2-1 – 3.13.1-1ubuntu0.1~esm1
4 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSpython-filelockpkg:deb/ubuntu/python-filelock?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 3.0.12-2 – 3.6.0-1ubuntu0.1~esm1
7 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSpython-filelockpkg:deb/ubuntu/python-filelock?arch=source&distro=esm-apps/focalOther threatsAffected
  • =3.0.12-1
  • =3.0.12-2
  • =3.0.12-2ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 18.04 LTSpython-filelockpkg:deb/ubuntu/python-filelock?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 2.0.11-1 – 3.0.4-1ubuntu0.1~esm1
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…