PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-112912 tox-dev CVE debrief

A vulnerability in the filelock Python package, specifically in the SoftFileLock class, allows a local user to infer whether a chosen path exists and is writable by exploiting a symlink swap during the writability check. This issue has been fixed in version 4.2.1. The vulnerability can be exploited by a local user, potentially leading to unauthorized information disclosure. Defenders should verify affected versions and upgrade to 4.2.1 or later. The vulnerability is caused by the SoftFileLock class following a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit.

Vendor
tox-dev
Product
filelock
CVSS
LOW 2.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-20
Original CVE updated
2026-10-20
Advisory published
2026-10-20
Advisory updated
2026-10-20

Who should care

Defenders responsible for Python environments using the filelock package should assess exposure and prioritize upgrading to version 4.2.1 or later. Defenders should verify affected versions and upgrade to 4.2.1 or later. The vulnerability can be exploited by a local user, potentially leading to unauthorized information disclosure.

Why it matters

A vulnerability in filelock's SoftFileLock class allows local users to infer path existence and writability, potentially leading to unauthorized information disclosure. Defenders should verify affected versions and upgrade to 4.2.1 or later.

  • Path existence and writability inference by local users
  • Potential for unauthorized information disclosure
  • Need for verification of affected versions in environment
  • Upgrade to fixed version 4.2.1 or later

Technical summary

The SoftFileLock class in the filelock Python package is vulnerable to a symlink swap attack, allowing a local user to infer whether a chosen path exists and is writable. This issue is fixed in version 4.2.1. The vulnerability can be exploited by a local user, potentially leading to unauthorized information disclosure. The vulnerability affects filelock versions from 3.32.6 until 4.2.1. Defenders should verify the existence of affected filelock versions in their environments and upgrade to version 4.2.1 or later. The vulnerability is caused by the SoftFileLock class following a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit.

Defensive priority

Defenders should prioritize verifying the existence of affected filelock versions in their environments and upgrading to version 4.2.1 or later.

Recommended defensive actions

  • Verify the existence of affected filelock versions in your environment.
  • Upgrade to filelock version 4.2.1 or later.
  • Review and update relevant documentation and configurations.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description, affected versions, and fixed version. The vulnerability affects filelock versions from 3.32.6 until 4.2.1. The issue is fixed in version 4.2.1. Defenders should verify the existence of affected filelock versions in their environments and review relevant documentation and configurations.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-112912 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-112912

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-112912 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-112912

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and i

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/112xxx/CVE-2026-112912.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/tox-dev/filelock/pull/835

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/tox-dev/filelock/releases/tag/4.2.1

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.