Read the docs

Race condition in filelock lets heartbeat overwrite unrelated files

Priority LOW 12CWE-367Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 8 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

The tox-dev filelock Python package before 4.3.0 is affected. A race condition (CWE-367) in the SoftReadWriteLock heartbeat can overwrite the start of an unrelated file with holder-record data after inode reuse. A local user with low privileges who shares a directory where another account can rename entries can trigger it on a filesystem that reuses inode numbers, as confirmed on ext4.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

filelock is a platform-independent file lock for Python. Prior to 4.3.0, a SoftReadWriteLock heartbeat can overwrite the beginning of an unrelated file with holder-record data. This requires a shared directory where another account can rename entries and a filesystem that reuses inode numbers. The overwrite was confirmed on ext4. This issue is fixed in version 4.3.0.

Why it matters now

EPSS 0.00162 5th percentileScored 2026-12-04
Fix Partial filelock (tox-dev): 4.3.0Red Hat: 8 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
tox-devfilelockbefore 4.3.04.3.0Patch availableCNA
  • filelock Vendortox-dev Affected before 4.3.0 Fixed in 4.3.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:*:*:*——tox-dev
  • cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:*:*:* Versions — — ·tox-dev

Remediation

Upgrade filelock to version 4.3.0, which the sources list as the fixed version. Red Hat lists no available plan for Ansible Automation Orchestrator 2026, OpenShift Lightspeed, Pen Drive Powered by Red Hat Lightspeed, Red Hat AI Inference Server, Red Hat Ansible Automation Platform 2 and other products.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA filelock (tox-dev) Fixed in 4.3.0

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Ansible Automation Orchestrator 2026AffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet: Fix deferred
Pen Drive Powered by Red Hat LightspeedAffectedNo fix yet: Fix deferred
Red Hat AI Inference ServerAffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Not affected: 11 products
  • Exploit Intelligence
  • Lightspeed Core
  • OpenShift Lightspeed
  • Red Hat Ansible Automation Platform 2
  • Red Hat Ansible Automation Platform Ansible Core 2
  • Red Hat Enterprise Linux AI (RHEL AI) 3
  • Red Hat Lightspeed Services for OCP
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Dev Spaces
  • Red Hat Satellite 6

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-144386
  2. 2026-12-04 Affected versions changed · Red Hat
  3. 2026-12-04 CVSS score added · Red Hat

References

  • TI-2026-76862 Race condition in filelock ReadWriteLock allows file overwrites CVSS 3.1HIGH 7.1
  • TI-2026-76853 filelock soft locks adopt directories created by other local users CVSS 3.1MEDIUM 6.3
  • TI-2026-76859 Symlink following in filelock ReadWriteLock redirects SQLite database CVSS 3.1MEDIUM 6.1
  • TI-2026-76857 Unsafe holder record refresh in filelock SoftReadWriteLock CVSS 3.1MEDIUM 6.1
  • TI-2026-76852 filelock UnixFileLock lets local users truncate and chmod files CVSS 3.1MEDIUM 6.1
  • TI-2026-76856 Crafted lock database makes filelock ReadWriteLock acquisitions hang CVSS 3.1MEDIUM 5.5
See all 50 →

Sources