Every CVESearch/Get API key

CVE-2026-144349

filelock: ReadWriteLock can remove unrelated empty directories

Explain with AI
ChatGPTClaudeGoogle AI
Severity
4.4Medium
Local attack, low privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.28% in 30 days
Percentile21st
EPSS, scored
Listed fix
4.3.0 for filelock
From 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:L

Exploit chance over time

Scored once so far, on . The trend appears after a second daily score.

Affected

Packages 4

Affected packages
PackageAffectedFixed
filelock
PyPI
4.2.1 to 4.2.12
4.3.0
python-filelock
Debian: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 less
3.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-filelock
Debian: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 less
3.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-filelock
Debian: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 less
3.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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Changes recorded by Every CVE
DayChangedSources
Affected packages, referencesGitHub Advisories, NVD, OSV
Affected packages, other IDs, key facts, referencesOSV
Other IDs, published dateCVE List, EUVD
Other IDs, referencesNVD, OSV
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open