Skip to main content
CVE-2026-112907VulnerabilityPublished Updated

Python filelock: From 3.22.0 until 4.2.1, soft lock classes on Windows read an existing marker with _read_lock_file

Affects python-filelockSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112907· Low 2.5

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

Data as of 18 Nov 2026, 15:20 UTC

CVSS 3.1 base score
2.5Low
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.12.5
Patch
Available – fixed in 4.2.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/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.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.

References

Community reviews

Loading reviews…