{"id":"CVE-2026-144386","aliases":["GHSA-x3f4-g3q6-f985"],"url":"https://o3.security/vulnerability/CVE-2026-144386","summary":"filelock: SoftReadWriteLock heartbeat overwrites victim-owned files after inode reuse","details":"## Impact\n\nA `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.\n\n## Affected versions and fix\n\nThe 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](https://github.com/tox-dev/filelock/pull/982)\n\n## Workaround\n\nKeep the lock and its records in a directory where only trusted accounts can rename entries.\n\n## Credits\n\nReported by OSS Scanner (ANT-2026-CC0VMGLC).","published":"2026-12-03T19:06:45.020Z","modified":"2026-12-05T20:45:43.804057352Z","cvss":{"score":2.5,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"},"epss":{"score":0.00162,"percentile":0.05601,"asOf":"2026-12-04"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"filelock","fixedVersion":"4.3.0"}],"fix":{"url":"https://github.com/tox-dev/filelock/commit/184931a64dd221e68f41586bcab91a2f9e59b419","label":"tox-dev/filelock@184931a"},"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.3.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144386.json"},{"type":"ADVISORY","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-x3f4-g3q6-f985"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144386"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/commit/184931a64dd221e68f41586bcab91a2f9e59b419"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/pull/982"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-05T20:45:43.804057352Z"}}