Skip to main content

CVE-2026-112939: CWE-345: Insufficient Verification of Data Authenticity in tox-dev filelock

0
Medium
VulnerabilityCVE-2026-112939cvecve-2026-112939cwe-345
Published: 10/20/2026 (10/20/2026, 14:38:52 UTC)
Source: CVE Database V5
Vendor/Project: tox-dev
Product: filelock

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.

CVSS v3.1

Score 4.7medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected software

tox-dev

filelock

Affected versions
>=3.22.0 <4.2.1
filelock
pkg:pypi/filelock

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/20/2026, 15:18:50 UTC

Technical Analysis

CVE-2026-112939 describes a weakness in tox-dev's filelock library, specifically in the SoftFileLock implementation between versions 3.22.0 and 4.2.0 inclusive. The flaw is due to insufficient verification of the authenticity of a process identifier stored in a marker file. An attacker with authorized access (e.g., another process running under the same user or root) can forge this identifier, remove the live marker, and thereby allow another process to acquire the lock improperly. This can lead to unauthorized lock acquisition and potential interference with file locking mechanisms. The issue is resolved in version 4.2.1.

Potential Impact

The vulnerability allows an authorized contender process to bypass proper lock ownership verification by forging a process identifier in the lock marker. This can lead to unauthorized lock acquisition, potentially causing interference or race conditions in applications relying on filelock for synchronization. The impact is limited to integrity (I:H) with no confidentiality or availability impact reported. Exploitation requires local access with at least limited privileges and high attack complexity.

Mitigation Recommendations

Upgrade to filelock version 4.2.1 or later, where this vulnerability is fixed. No other mitigations are specified or recommended by the vendor. Since this is a local privilege issue requiring authorized access, restricting local user permissions may reduce risk but does not fully mitigate the vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-19T21:30:47.245Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad782ec2cdf04f65638aa40

Added to database: 10/20/2026, 15:04:12 UTC

Last enriched: 10/20/2026, 15:18:50 UTC

Last updated: 10/20/2026, 19:06:08 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses