Mixed strict and soft locks in filelock can overlap on POSIX
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The tox-dev filelock package before 4.3.0 on POSIX lets a StrictSoftFileLock holder and a soft-lock client on the same path both enter their critical sections. The flaw is unverified ownership of the sentinel file (CWE-283), so another account in a shared sticky directory can break mutual exclusion. A local user with low privileges and high attack complexity can cause the overlap during a mixed-client migration.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, a StrictSoftFileLock holder and a soft-lock client using the same path could both enter their critical sections if another account owned the sentinel in a shared sticky directory. This compromises mutual exclusion during a mixed-client migration. The report established overlapping holds. This issue is fixed in version 4.3.0.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update filelock to version 4.3.0, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA filelock (tox-dev) Fixed in 4.3.0
Timeline
- 2026-12-03 Threatist record created from CVE-2026-144403
References
More tox-dev vulnerabilities
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences