CVE-2026-112937

Source
https://cve.org/CVERecord?id=CVE-2026-112937
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-112937.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-112937
Aliases
Downstream
Published
2026-10-20T14:36:28Z
Modified
2026-10-24T02:47:46Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L CVSS Calculator
Summary
filelock: ReadWriteLock on the hard-link route deletes any directory another user renames onto its .filelock-* link directory name
Details

filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, ReadWriteLock can remove a randomized .filelock-* private-hard-link directory during cleanup, allowing another local user with rename access in a non-sticky parent to observe a live name or forge a dead-owner sweep name and rename a sibling directory onto it for deletion. This issue is fixed in version 4.2.1.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-367"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112937.json"
}
References

Affected packages

Git / github.com/tox-dev/filelock

Affected ranges

Type
GIT
Repo
https://github.com/tox-dev/filelock
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:python:*:*",
            "range": [
                {
                    "introduced": "4.1.0"
                },
                {
                    "fixed": "4.2.1"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "4.2.1",
            "range": [
                {
                    "fixed": "60331bb89f325020b48bc51bde904c6446384e4a"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

4.*
4.1.0
4.1.1
4.1.2
4.2.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-112937.json"