CVE-2026-144349
filelock: ReadWriteLock can remove unrelated empty directories
- Severity
- 4.4MediumLocal attack, low privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.28% in 30 daysPercentile21stEPSS, scored
- Listed fix
4.3.0for filelockFrom GitHub Advisories3 other affected packages
Overview
filelock is a platform-independent file lock for Python. From 4.2.1 until 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. This issue is fixed in version 4.3.0.
CVSS 3.1 vector
Exploitability
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
Impact
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LExploit chance over time
Scored once so far, on . The trend appears after a second daily score.
Affected
Packages 4
| Package | Affected | Fixed |
|---|---|---|
filelockPyPI | 4.2.1 to 4.2.12 | 4.3.0 |
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.14.4
filelock: ReadWriteLock can remove unrelated empty directories
filelock is a platform-independent file lock for Python. From 4.2.1 until 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. This issue is fixed in version 4.3.0.
- Record
CVE-2026-144349- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-610
- Updated
- 2026-12-03
EUVDEUVD-2026-143590CVSS 3.14.4
filelock is a platform-independent file lock for Python. From 4.2.1 until 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. This issue is fixed in version 4.3.0.
- Record
EUVD-2026-143590- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - Updated
- 2026-12-03
GitHub AdvisoriesGHSA-jcf5-mpj4-xfg8CVSS 3.14.4
filelock: ReadWriteLock can remove unrelated empty directories
Impact
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 leave an empty directory behind without blocking future acquisitions. PR #973
Workaround
Use a parent directory where untrusted accounts cannot rename entries.
Credits
Reported by OSS Scanner (ANT-2026-KHP4PR98).
- Record
GHSA-jcf5-mpj4-xfg8- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-610
- Updated
- 2026-12-04
NVDCVSS 3.14.4
filelock is a platform-independent file lock for Python. From 4.2.1 until 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. This issue is fixed in version 4.3.0.
- Record
CVE-2026-144349- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-610
- Updated
- 2026-12-03
OSVCVSS 3.14.4
filelock: ReadWriteLock can remove unrelated empty directories
filelock is a platform-independent file lock for Python. From 4.2.1 until 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. This issue is fixed in version 4.3.0.
- Record
CVE-2026-144349- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-610
- Updated
- 2026-12-04
OSVDEBIAN-CVE-2026-144349CVSS 3.14.4
filelock is a platform-independent file lock for Python. From 4.2.1 until 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. This issue is fixed in version 4.3.0.
- Record
DEBIAN-CVE-2026-144349- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - Updated
- 2026-12-04
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages, references | GitHub Advisories, NVD, OSV | |
| Affected packages, other IDs, key facts, references | OSV | |
| Other IDs, published date | CVE List, EUVD | |
| Other IDs, references | NVD, OSV | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/tox-dev/filelock/security/advisories/GHSA-jcf5-mpj4-xfg8
github.com/tox-dev/filelock/pull/973
github.com/tox-dev/filelock/commit/f000cc7dc095718273ae26c959072c0d9a50ff7d
github.com/tox-dev/filelock/releases/tag/4.3.0
nvd.nist.gov/vuln/detail/CVE-2026-144349
github.com/advisories/GHSA-jcf5-mpj4-xfg8
github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144349.json
security-tracker.debian.org/tracker/CVE-2026-144349