CVE-2026-112935: filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders

Published Oct 20, 2026
·
Updated

filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can break a stale marker after an attacker frees its own marker following the stale read, an honest contender creates a live successor on the reused inode, and the successor's modification time is not newer than the saved observation, causing the live marker to be removed and two holders to be admitted. This issue is fixed in version 4.2.1.

Affected Software

1 affected component
pypi/filelock>=3.22.0<4.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade filelock to a version that resolves this vulnerability.

    Fixed in 4.2.1

Event History

Oct 20, 2026
CVE Published
via MITRE·02:32 PM
Data Sourced
via MITRE·02:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Deployments using filelock SoftFileLock versions from 3.22.0 up to, but not including, 4.2.1 are affected. The issue concerns SoftFileLock stale-lock breaking behavior.

2

What does an attacker need to exploit this?

An attacker needs local access and low privileges, as reflected by the CVSS vector. Exploitation requires a timing-sensitive sequence in which the attacker frees its marker after it is observed as stale, an honest contender creates a successor using a reused inode number, and the successor modification time is not newer than the saved observation.

3

What is the impact if exploitation succeeds?

A live lock marker can be removed, allowing two holders to be admitted simultaneously. The stated CVSS impact is integrity-only, with no confidentiality or availability impact.

4

How can this be remediated?

Upgrade filelock to version 4.2.1, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203