CVE-2026-112939
filelock is a platform-independent file lock for Python
- Risk score
- 44/100
- CVSS
- 4.7 v3.1
- Exploit chance (30 days)
- 0.1%
- Published
- 20 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can trust a forged process identifier in a marker that an attacker can modify but cannot remove, allowing an authorized contender such as another process of the holder's account or root to act as a confused deputy, remove th…
- Affected
- Tox-dev Filelock before 4.2.1
- Fix
- Upgrade Tox-dev Filelock to 4.2.1 or later.
- Exploitation
- Public proof of concept
Story map
At a glance
Tox-dev Filelock: Yellow, plan it in. filelock is a platform-independent file lock for Python. From 4.0.0 until 4.2.1, SoftReadWriteLock refreshes holder records by name, allowing another local user with rename access to the lock directory to replace a record with a named pipe and stall the lock, or under a permissive hard-link policy to link a reachable …
The flaws
- CVE-2026-112939: Filelock is a platform-independent file lock for Python (CVSS 4.7 · EPSS 0%)
- CVE-2026-112934: Filelock is a platform-independent file lock for Python (CVSS 6.1 · EPSS 0%)
- CVE-2026-112936: Filelock is a platform-independent file lock for Python (CVSS 6.1 · EPSS 0%)
- CVE-2026-112940: Filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files (CVSS 7.1 · EPSS 0%)
The fix
Upgrade Tox-dev Filelock: 4.2.1 · 4.0.9 or later on your release line
Who is exposed: Tox-dev Filelock before 4.2.1
Where it stands
- Public proof of concept
Connects to
- Same weakness: CWE-345 (CWE-345). 45 other warnings in 30 days
- Same product: Earlier Tox-dev Filelock warnings. 7 in the last 90 days
Why it is Yellow
- CVSS 4.7 medium
- Public exploit or proof of concept referenced
- On your watchlist: python
References
- https://github.com/tox-dev/filelock/commit/eeceaa846cbe4df72718d94c8371ca1ab8f5b3cc
- https://github.com/tox-dev/filelock/pull/836
- https://github.com/tox-dev/filelock/releases/tag/4.2.1
- https://github.com/tox-dev/filelock/security/advisories/GHSA-rfpc-qcw5-3pc4
- https://github.com/tox-dev/filelock/security/advisories/GHSA-rfpc-qcw5-3pc4
Original description
filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can trust a forged process identifier in a marker that an attacker can modify but cannot remove, allowing an authorized contender such as another process of the holder's account or root to act as a confused deputy, remove the live marker, and admit another holder. This issue is fixed in version 4.2.1.
Last activity 20 Oct 2026. Patch Forecast updates every hour.