# CVE-2026-112939: filelock: SoftFileLock removes a live holder's marker when another user forges the PID in a writable marker

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T14:38:52.373Z
- Modified: 2026-10-28T21:15:05.584Z
- Also known as: GHSA-rfpc-qcw5-3pc4
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tox-dev filelock: >= 3.22.0, < 4.2.1; from 3.22.0 before 4.2.1
- filelock (PyPI): from 3.22.0 before 4.2.1

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/tox-dev/filelock/security/advisories/GHSA-rfpc-qcw5-3pc4> (exploit, mitigation, patch, vendor-advisory, web)
- <https://github.com/tox-dev/filelock/pull/836> (patch, web)
- <https://github.com/tox-dev/filelock/commit/eeceaa846cbe4df72718d94c8371ca1ab8f5b3cc> (patch, web)
- <https://github.com/tox-dev/filelock/releases/tag/4.2.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112939> (advisory)
- <https://github.com/tox-dev/filelock> (package)

## Sources

- CVE List: [CVE-2026-112939](https://www.cve.org/CVERecord?id=CVE-2026-112939), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-rfpc-qcw5-3pc4](https://github.com/advisories/GHSA-rfpc-qcw5-3pc4), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-112939](https://nvd.nist.gov/vuln/detail/CVE-2026-112939), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-112939 · Whole record: https://cve.day/CVE-2026-112939.json · Rebuilt by cve.day 2026-11-25T22:59:46.044Z
