Every CVESearch/Get API key

CVE-2026-144395

filelock: ReadWriteLock can overwrite victim-owned files through a directory swap

Explain with AI
ChatGPTClaudeGoogle AI
Severity
4.4Medium
Local attack, low privileges, needs user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.20% in 30 days
Percentile10th
EPSS, scored
Listed fix
4.3.0 for filelock
From GitHub Advisories4 other affected packages

Overview

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.

CVSS 3.1 vector

Exploitability

Attack vector
Local
Complexity
High
Privileges needed
Low
User interaction
Required

Impact

Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

Exploit chance over time

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

Affected

Packages 5

Affected packages
PackageAffectedFixed
filelock
PyPI
before 4.3.0
4.3.0
python-filelock
Azure Linux:3
through 3.20.3-4None listed
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 overwrite victim-owned files through a directory swap

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.

Record
CVE-2026-144395
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-367
Updated
2026-12-03
EUVDEUVD-2026-143615CVSS 3.14.4

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.

Record
EUVD-2026-143615
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Updated
2026-12-03
GitHub AdvisoriesGHSA-22wc-j8c9-7gxgCVSS 3.14.4

filelock: ReadWriteLock can overwrite victim-owned files through a directory swap

Impact

On POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read.

Affected version and mitigation

The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later.

Filelock now creates the final database link inside a fresh owner-only directory, verifies its permissions and requires the link to exist when SQLite opens it. Upgrade every process sharing the database before resuming operations. Until then, keep its parent writable only by the locking account or use a sticky shared parent. Fix in PR #1096.

Credits

OSS Scanner: ANT-2026-XYOWG885.

Record
GHSA-22wc-j8c9-7gxg
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-367
Updated
2026-12-04
NVDCVSS 3.14.4

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.

Record
CVE-2026-144395
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-367
Updated
2026-12-03
OSVCVSS 3.14.4

filelock: ReadWriteLock can overwrite victim-owned files through a directory swap

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.

Record
CVE-2026-144395
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-367
Updated
2026-12-04
OSVDEBIAN-CVE-2026-144395CVSS 3.14.4

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.

Record
DEBIAN-CVE-2026-144395
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Updated
2026-12-04
OSVAZL-118801No score

CVE-2026-144395 affecting package python-filelock 3.20.3-4

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, another account with rename access in a shared, non-sticky lock directory can redirect a SQLite-backed ReadWriteLock operation to a file writable by the locking process. A cross-account overwrite was confirmed on Linux. The affected setup also required a victim-owned directory that the other account could previously read. This issue is fixed in version 4.3.0.

Record
AZL-118801
Updated
2026-12-04

History

Recorded by Every CVE

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

Upstream dates may differ.

References

MoveEnter Open