filelock: ReadWriteLock follows a symlink at the lock path into SQLite
影響: pip:filelock >= 3.20.4, <= 4.0.8 → 4.0.9
ReadWriteLock and AsyncReadWriteLock resolve the lock path with pathlib.Path.resolve() and pass it to sqlite3.connect() without refusing a symlink. A local user who can create names in the lock's directory, such as /tmp or a shared cache, can plant a symlink at the lock path and make the victim's process create, lock, or write the file it points to, or break mutual exclusion between the victim's own processes. Details ReadWriteLock.__init__ stores pathlib.Path(lock_file).resolve(), which follow…
Read on GitHub Advisory Database
| CVE | CVE-2026-112936 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/29/2026, 09:48 AM |
| Data | Markdown JSON |
On 10/29/2026, 06:08 AM, GitHub Advisory Database published "filelock: ReadWriteLock follows a symlink at the lock path into SQLite" (type: Advisory). Severity is "Medium" (medium). Related technologies: Python, SQLite. CVE: CVE-2026-112936.