CVE-2026-112911
Medium · 6.3CVSS
6.3
EPSS
0.1%
Published
Oct 20, 2026
CISA due date
—
Cloudanix analysis
A Python library used to prevent multiple programs from editing the same file at once can be tricked by another user on the same computer, potentially letting files be changed in unsafe ways.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Data Tampering
- Component
- Library
- Class
- Race Condition
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A local race condition in StrictSoftFileLock (3.30.0+) and SoftReadWriteLock (4.0.0+) allows an attacker who creates a protocol directory first in a shared parent directory to control protocol state, enabling concurrent lock holders.
Why it matters to the business
Attackers with local access can bypass file locking protections in shared environments, risking data corruption or inconsistent application state in multi-user Python deployments; the flaw has been public for nine days with exploit code available, increasing urgency for any organizations using affected filelock versions.
How an attack unfolds
An attacker with local access in a shared directory creates the expected protocol directory before the victim process; the vulnerable lock code adopts the attacker-controlled directory, allowing the attacker to manipulate lock state and admit additional concurrent holders, violating intended mutual exclusion.
How to fix it
Upgrade tox-dev filelock to version 4.2.1 or later for all affected StrictSoftFileLock and SoftReadWriteLock usage; avoid running untrusted code in shared directories until patched.
How to confirm the fix worked
Confirm filelock version is 4.2.1 or newer via package metadata; review application code for use of StrictSoftFileLock or SoftReadWriteLock and verify they are instantiated only after the upgrade.
Typical attack path
- Identify a shared parent directory used by a target Python process relying on filelock
- Create the protocol directory with attacker-controlled contents before the target acquires the lock
- Allow the target to adopt the directory and proceed with its locking protocol
- Manipulate protocol state to admit concurrent access or corrupt lock semantics
How to detect it
Review application logs for unexpected concurrent file access or lock-related errors; inspect process listings and file creation events in shared directories for anomalous protocol directory creation by non-application users.
What your security team should do
- Immediately inventory all Python environments for filelock versions prior to 4.2.1
- Prioritize upgrade to 4.2.1 in any shared-directory or multi-user deployments
- Monitor for new exploit code leveraging the public proof-of-concept
- Restrict shared directory permissions where file locking is used until remediation is complete
The record
filelock is a platform-independent file lock for Python. From 3.30.0 until 4.2.1, StrictSoftFileLock versions from 3.30.0 and SoftReadWriteLock versions from 4.0.0 can adopt a protocol directory created first by another local user in a shared parent directory, allowing that user to alter protocol state and admit concurrent holders. This issue is fixed in version 4.2.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-118029 Unverified ownership of the default query result location in the Athena module in AWS SDK… CWE-283
- CVE-2026-83791 Improper authorization in Windows Virtual Input allows an authorized attacker to elevate… CWE-283
- CVE-2026-87913 A missing S3 bucket ownership verification in the AWS Security Agent MCP server before… CWE-283
- CVE-2026-87912 A missing S3 bucket ownership verification in the AWS Security Agent plugin in Amazon… CWE-283
- CVE-2026-85781 Unverified ownership of a storage access point in the volume deletion component of the… CWE-283
- CVE-2026-9745 IBM Netezza Software 11.3.0.3 through Interim Fix 002 has operations that are performed… CWE-283
- CVE-2026-54467 On the Trusted Firmware-M (TF-M) 2 through 2.3.0 platform before 00d1b3e, mailbox… CWE-283
- CVE-2026-15599 Unverified ownership vulnerability in TÜBİTAK BİLGEM Software Technologies Research… CWE-283