CVE-2026-144386
filelock: SoftReadWriteLock heartbeat overwrites victim- owned files after inode reuse
- Severity
- 2.5LowLocal attack, low privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.16% in 30 daysPercentile5thEPSS, scored
- Listed fix
4.3.0for filelockFrom GitHub Advisories4 other affected packages
Overview
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.
CVSS 3.1 vector
Exploitability
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
Impact
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NExploit chance over time
Scored once so far, on . The trend appears after a second daily score.
Affected
Packages 5
| Package | Affected | Fixed |
|---|---|---|
filelockPyPI | before 4.3.0 | 4.3.0 |
python-filelockAzure Linux:3 | through 3.20.3-4 | None listed |
python-filelockDebian:12 | All versions, plus listed versions 3.12.2-13.12.3-13.12.4-13.13.1-13.13.3-1 Show 32 more versionsShow less3.13.4-13.14.0-13.15.4-13.16.1-13.16.1-23.17.0-13.18.0-13.19.1-13.20.0-13.20.2-13.20.3-13.24.3-13.25.0-13.25.2-13.29.0-13.29.4-13.29.5-13.29.7-13.32.0-13.32.2-13.32.4-13.32.4-23.32.5-13.32.6-13.9.0-13.9.0-1+deb12u14.0.1-14.0.12-14.1.1-14.2.10-14.2.8-14.3.1-1 | None listed |
python-filelockDebian:13 | All versions, plus listed versions 3.18.0-13.18.0-1+deb13u13.19.1-13.20.0-13.20.2-1 Show 20 more versionsShow less3.20.3-13.24.3-13.25.0-13.25.2-13.29.0-13.29.4-13.29.5-13.29.7-13.32.0-13.32.2-13.32.4-13.32.4-23.32.5-13.32.6-14.0.1-14.0.12-14.1.1-14.2.10-14.2.8-14.3.1-1 | None listed |
python-filelockDebian:14 | before 4.3.1-1, plus listed versions 3.18.0-13.19.1-13.20.0-13.20.2-13.20.3-1 Show 18 more versionsShow less3.24.3-13.25.0-13.25.2-13.29.0-13.29.4-13.29.5-13.29.7-13.32.0-13.32.2-13.32.4-13.32.4-23.32.5-13.32.6-14.0.1-14.0.12-14.1.1-14.2.10-14.2.8-1 | 4.3.1-1 |
Products 1
Sources
CVE List Score usedCVSS 3.12.5
filelock: SoftReadWriteLock heartbeat overwrites victim-owned files after inode reuse
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.
- Record
CVE-2026-144386- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-367
- Updated
- 2026-12-03
EUVDEUVD-2026-143602CVSS 3.12.5
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.
- Record
EUVD-2026-143602- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-12-03
GitHub AdvisoriesGHSA-x3f4-g3q6-f985CVSS 3.12.5
filelock: SoftReadWriteLock heartbeat overwrites victim-owned files after inode reuse
Impact
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.
Affected versions and fix
The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The heartbeat verifies the holder token on the open descriptor before writing. A mismatch marks the hold as lost. The fix does not protect a lock directory that another account can replace. PR #982
Workaround
Keep the lock and its records in a directory where only trusted accounts can rename entries.
Credits
Reported by OSS Scanner (ANT-2026-CC0VMGLC).
- Record
GHSA-x3f4-g3q6-f985- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-367
- Updated
- 2026-12-04
NVDCVSS 3.12.5
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.
- Record
CVE-2026-144386- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-367
- Updated
- 2026-12-03
OSVCVSS 3.12.5
filelock: SoftReadWriteLock heartbeat overwrites victim-owned files after inode reuse
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.
- Record
CVE-2026-144386- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-367
- Updated
- 2026-12-04
OSVDEBIAN-CVE-2026-144386CVSS 3.12.5
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.
- Record
DEBIAN-CVE-2026-144386- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-12-04
OSVAZL-118777No score
CVE-2026-144386 affecting package python-filelock 3.20.3-4
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.
- Record
AZL-118777- Updated
- 2026-12-04
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages, references | GitHub Advisories, OSV | |
| Affected packages, other IDs, key facts, references | OSV | |
| Affected packages, other IDs, references | OSV | |
| Other IDs, references | OSV | |
| Other IDs, published date | EUVD, NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/tox-dev/filelock/security/advisories/GHSA-x3f4-g3q6-f985
github.com/tox-dev/filelock/pull/982
github.com/tox-dev/filelock/commit/184931a64dd221e68f41586bcab91a2f9e59b419
github.com/tox-dev/filelock/releases/tag/4.3.0
nvd.nist.gov/vuln/detail/CVE-2026-144386
github.com/advisories/GHSA-x3f4-g3q6-f985
github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144386.json
security-tracker.debian.org/tracker/CVE-2026-144386