## filelock: ReadWriteLock can remove unrelated empty directories

- 種別: advisory
- 重大度: medium
- 関連技術: python
- CVE: CVE-2026-144349
- 公開日時: 2026-12-04T21:37:56.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-jcf5-mpj4-xfg8)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-jcf5-mpj4-xfg8

影響: pip:filelock >= 4.2.1, <= 4.2.12 → 4.3.0
On POSIX, ReadWriteLock can remove empty directories from an unrelated directory owned by the locking account. This requires a shared parent without the sticky bit where another local account can rename directories. The confirmed impact is confined to empty directories. Affected versions and fix Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock 4.3.0 or later. Cleanup verifies that it removed a link to the lock database before removing directories. An interrupted acquisition can l…