CVE-2026-112912

Source
https://cve.org/CVERecord?id=CVE-2026-112912
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112912.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-112912
Aliases
  • GHSA-9j6q-wvj5-jgjg
Downstream
Published
2026-10-20T14:23:18Z
Modified
2026-10-22T02:48:51Z
Severity
  • 2.5 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker
Details

filelock is a platform-independent file lock for Python. From 3.32.6 until 4.2.1, SoftFileLock can follow a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit, allowing another local user on a platform and directory configuration that follows the link to infer whether a chosen path exists and is writable from the observable acquisition result. This issue is fixed in version 4.2.1.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-59"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112912.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":  [
        {
            "range":  [
                {
                    "introduced":  "3.32.6"
                },
                {
                    "fixed":  "4.2.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "e1e825b1992f69fb6b346dc395d5ae4893536c0a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "4.2.1",
            "range":  [
                {
                    "fixed":  "60331bb89f325020b48bc51bde904c6446384e4a"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

3.*
3.32.6
3.32.7
4.*
4.0.0
4.0.1
4.0.10
4.0.11
4.0.12
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.0.7
4.0.8
4.0.9
4.1.0
4.1.1
4.1.2
4.2.0

Database specific

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