{"id":"GHSA-5qxg-3g64-7g62","summary":"filelock: Shared-directory entries delay read-write locks beyond timeout","details":"## Impact\n\nOn POSIX, another account with write access to the parent directory of a SQLite lock database can make `ReadWriteLock` initialization and acquisition run past their requested timeout, even when the lock is free. `AsyncReadWriteLock` constructs the same backend on the event-loop thread, so a slow initialization can also delay other tasks.\n\n## Affected versions and mitigation\n\nConfirmed affected: `= 4.2.12`. Upgrade to `4.3.0`.\n\nDead-holder cleanup now checks a 50 ms budget between directory entries and can resume on a later connection. An individual filesystem operation can exceed that budget, and unvisited links can remain. Keep the database in a directory writable only by trusted accounts. A sticky bit still permits new directory entries. [Fix in PR #1096](https://github.com/tox-dev/filelock/pull/1096)\n\n## Credits\n\nNovember 18, 2026 filelock security review: ANT-2026-W2TXGKZX.","aliases":["CVE-2026-144338"],"modified":"2026-12-05T18:48:25.187287569Z","published":"2026-12-04T22:51:58Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2026-12-04T22:51:58Z","nvd_published_at":"2026-12-03T19:17:31Z","cwe_ids":["CWE-770"]},"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-5qxg-3g64-7g62"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144338"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/1096"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/d7324f591a2532e28427dae342d73680cc4cf6e7"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.3.0"}],"affected":[{"package":{"name":"filelock","ecosystem":"PyPI","purl":"pkg:pypi/filelock"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0"}]}],"versions":["0.2.0","0.2.1","0.2.2","1.0.0","1.0.1","1.0.2","1.0.3","2.0.0","2.0.1","2.0.10","2.0.11","2.0.12","2.0.13","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","3.0.0","3.0.10","3.0.12","3.0.2","3.0.3","3.0.4","3.0.6","3.0.8","3.0.9","3.1.0","3.10.0","3.10.1","3.10.2","3.10.3","3.10.4","3.10.5","3.10.6","3.10.7","3.11.0","3.12.0","3.12.1","3.12.2","3.12.3","3.12.4","3.13.0","3.13.1","3.13.2","3.13.3","3.13.4","3.14.0","3.15.0","3.15.1","3.15.2","3.15.3","3.15.4","3.16.0","3.16.1","3.17.0","3.18.0","3.19.1","3.2.0","3.2.1","3.20.0","3.20.1","3.20.2","3.20.3","3.20.4","3.21.0","3.21.1","3.21.2","3.22.0","3.23.0","3.24.0","3.24.1","3.24.2","3.24.3","3.25.0","3.25.1","3.25.2","3.28.0","3.29.0","3.29.1","3.29.2","3.29.3","3.29.4","3.29.5","3.29.6","3.29.7","3.3.0","3.3.1","3.3.2","3.30.0","3.30.1","3.30.2","3.30.3","3.31.0","3.31.1","3.31.2","3.32.0","3.32.2","3.32.3","3.32.4","3.32.5","3.32.6","3.32.7","3.4.0","3.4.1","3.4.2","3.5.0","3.5.1","3.6.0","3.7.0","3.7.1","3.8.0","3.8.1","3.8.2","3.9.0","3.9.1","4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.2","4.2.0","4.2.1","4.2.10","4.2.11","4.2.12","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-5qxg-3g64-7g62/GHSA-5qxg-3g64-7g62.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}