CVE-2026-112936

filelock: ReadWriteLock follows a symlink at the lock path into SQLite

State
Published
Severity
6.1 Medium
Published
Oct 20, 2026
Updated
Oct 20, 2026
Reserved
Oct 19, 2026

Read the record on cve.org

Description

filelock is a platform-independent file lock for Python. From 3.20.4 until 4.0.9, ReadWriteLock and AsyncReadWriteLock versions from 3.20.4 resolve the lock path and pass it to SQLite without rejecting a final symbolic link, allowing another local user who can create names in the lock directory to redirect database creation and locking or split mutual exclusion between targets. This issue is fixed in version 4.0.9.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:LGitHub_M

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')
  • CWE-668 Exposure of Resource to Wrong Sphere

Affected Products

ProductVersions
filelocktox-dev
  • >= 3.20.4, < 4.0.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.