Skip to main content

Security update for python-filelock

0
Medium
Published: 01/30/2026 (01/30/2026, 21:24:37 UTC)
Source: GCVE Database
Vendor/Project: SUSE Product Security Team
Product: SUSE

Description

This security update for python-filelock addresses two time-of-check to time-of-use (TOCTOU) race condition vulnerabilities. These flaws may allow local attackers to corrupt or truncate arbitrary user files by exploiting race conditions in file locking mechanisms. The issues are identified as CVE-2025-68146 and CVE-2026-22701, affecting the general python-filelock implementation and specifically the SoftFileLock implementation. No specific affected versions are provided. The severity is assessed as medium based on the potential for local file corruption or truncation.

Affected software

Affected versions
SUSEnoarchpython313-filelock-3.18.0-160000.3.1.noarchSUSE Linux EnterpriseopenSUSE Leap 16.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 02:42:57 UTC

Technical Analysis

The vulnerabilities in python-filelock involve TOCTOU race conditions that can be exploited by local attackers to corrupt or truncate arbitrary user files. CVE-2025-68146 refers to a general TOCTOU race condition in python-filelock, while CVE-2026-22701 specifically affects the SoftFileLock implementation. These race conditions occur when the state of a file is checked and then used without proper synchronization, allowing an attacker to intervene between these operations. The issues were reported by the SUSE Product Security Team and are addressed in a security update. No CVSS score is provided, and no explicit affected versions or patch links are stated in the provided data.

Potential Impact

Local attackers may exploit these TOCTOU race conditions to corrupt or truncate arbitrary user files, potentially leading to data loss or integrity issues. There is no indication of remote exploitation or privilege escalation. No known exploits in the wild have been reported.

Mitigation Recommendations

A security update has been released to fix these vulnerabilities. Users should apply the update provided by their vendor or distribution to mitigate the risk. Patch status is not explicitly confirmed in the provided data; therefore, users should consult the SUSE Product Security Team advisories for the official patch and remediation instructions.

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

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
SUSE Product Security Team
Advisory Id
openSUSE-SU-2026:20144-1
Cve Count
2
Additional Cves
["CVE-2026-22701"]
State
PUBLISHED

Threat ID: 6aab49ae55bf5e2cf5992946

Added to database: 09/17/2026, 02:00:14 UTC

Last enriched: 09/17/2026, 02:42:57 UTC

Last updated: 09/17/2026, 02:42:57 UTC

Views: 3

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