SUSE-SU-2026:0082-1
Vulnerability from csaf_suse - Published: 2026-01-09 09:12 - Updated: 2026-01-09 09:12Summary
Security update for python-filelock
Notes
Title of the patch
Security update for python-filelock
Description of the patch
This update for python-filelock fixes the following issues:
- CVE-2025-68146: TOCTOU race condition may allow local attackers to corrupt or truncate arbitrary user files (bsc#1255244).
Patchnames
SUSE-2026-82,SUSE-SLE-Module-Development-Tools-15-SP7-2026-82,SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-82
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{
"document": {
"aggregate_severity": {
"namespace": "https://www.suse.com/support/security/rating/",
"text": "moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright 2024 SUSE LLC. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "Security update for python-filelock",
"title": "Title of the patch"
},
{
"category": "description",
"text": "This update for python-filelock fixes the following issues:\n\n- CVE-2025-68146: TOCTOU race condition may allow local attackers to corrupt or truncate arbitrary user files (bsc#1255244).\n",
"title": "Description of the patch"
},
{
"category": "details",
"text": "SUSE-2026-82,SUSE-SLE-Module-Development-Tools-15-SP7-2026-82,SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-82",
"title": "Patchnames"
},
{
"category": "legal_disclaimer",
"text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
"title": "Terms of use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://www.suse.com/support/security/contact/",
"name": "SUSE Product Security Team",
"namespace": "https://www.suse.com/"
},
"references": [
{
"category": "external",
"summary": "SUSE ratings",
"url": "https://www.suse.com/support/security/rating/"
},
{
"category": "self",
"summary": "URL of this CSAF notice",
"url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_0082-1.json"
},
{
"category": "self",
"summary": "URL for SUSE-SU-2026:0082-1",
"url": "https://www.suse.com/support/update/announcement/2026/suse-su-20260082-1/"
},
{
"category": "self",
"summary": "E-Mail link for SUSE-SU-2026:0082-1",
"url": "https://lists.suse.com/pipermail/sle-security-updates/2026-January/023719.html"
},
{
"category": "self",
"summary": "SUSE Bug 1255244",
"url": "https://bugzilla.suse.com/1255244"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2025-68146 page",
"url": "https://www.suse.com/security/cve/CVE-2025-68146/"
}
],
"title": "Security update for python-filelock",
"tracking": {
"current_release_date": "2026-01-09T09:12:48Z",
"generator": {
"date": "2026-01-09T09:12:48Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "SUSE-SU-2026:0082-1",
"initial_release_date": "2026-01-09T09:12:48Z",
"revision_history": [
{
"date": "2026-01-09T09:12:48Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "python2-filelock-3.0.12-150100.3.6.1.noarch",
"product": {
"name": "python2-filelock-3.0.12-150100.3.6.1.noarch",
"product_id": "python2-filelock-3.0.12-150100.3.6.1.noarch"
}
},
{
"category": "product_version",
"name": "python3-filelock-3.0.12-150100.3.6.1.noarch",
"product": {
"name": "python3-filelock-3.0.12-150100.3.6.1.noarch",
"product_id": "python3-filelock-3.0.12-150100.3.6.1.noarch"
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_name",
"name": "SUSE Linux Enterprise Module for Development Tools 15 SP7",
"product": {
"name": "SUSE Linux Enterprise Module for Development Tools 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP7",
"product_identification_helper": {
"cpe": "cpe:/o:suse:sle-module-development-tools:15:sp7"
}
}
},
{
"category": "product_name",
"name": "SUSE Linux Enterprise Module for Package Hub 15 SP7",
"product": {
"name": "SUSE Linux Enterprise Module for Package Hub 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP7",
"product_identification_helper": {
"cpe": "cpe:/o:suse:packagehub:15:sp7"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-filelock-3.0.12-150100.3.6.1.noarch as component of SUSE Linux Enterprise Module for Development Tools 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP7:python3-filelock-3.0.12-150100.3.6.1.noarch"
},
"product_reference": "python3-filelock-3.0.12-150100.3.6.1.noarch",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP7"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-filelock-3.0.12-150100.3.6.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP7:python3-filelock-3.0.12-150100.3.6.1.noarch"
},
"product_reference": "python3-filelock-3.0.12-150100.3.6.1.noarch",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP7"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2025-68146",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2025-68146"
}
],
"notes": [
{
"category": "general",
"text": "filelock is a platform-independent file lock for Python. In versions prior to 3.20.1, a Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulnerability exists in both Unix and Windows lock file creation where filelock checks if a file exists before opening it with O_TRUNC. An attacker can create a symlink pointing to a victim file in the time gap between the check and open, causing os.open() to follow the symlink and truncate the target file. All users of filelock on Unix, Linux, macOS, and Windows systems are impacted. The vulnerability cascades to dependent libraries. The attack requires local filesystem access and ability to create symlinks (standard user permissions on Unix; Developer Mode on Windows 10+). Exploitation succeeds within 1-3 attempts when lock file paths are predictable. The issue is fixed in version 3.20.1. If immediate upgrade is not possible, use SoftFileLock instead of UnixFileLock/WindowsFileLock (note: different locking semantics, may not be suitable for all use cases); ensure lock file directories have restrictive permissions (chmod 0700) to prevent untrusted users from creating symlinks; and/or monitor lock file directories for suspicious symlinks before running trusted applications. These workarounds provide only partial mitigation. The race condition remains exploitable. Upgrading to version 3.20.1 is strongly recommended.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"SUSE Linux Enterprise Module for Development Tools 15 SP7:python3-filelock-3.0.12-150100.3.6.1.noarch",
"SUSE Linux Enterprise Module for Package Hub 15 SP7:python3-filelock-3.0.12-150100.3.6.1.noarch"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2025-68146",
"url": "https://www.suse.com/security/cve/CVE-2025-68146"
},
{
"category": "external",
"summary": "SUSE Bug 1255244 for CVE-2025-68146",
"url": "https://bugzilla.suse.com/1255244"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"SUSE Linux Enterprise Module for Development Tools 15 SP7:python3-filelock-3.0.12-150100.3.6.1.noarch",
"SUSE Linux Enterprise Module for Package Hub 15 SP7:python3-filelock-3.0.12-150100.3.6.1.noarch"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"products": [
"SUSE Linux Enterprise Module for Development Tools 15 SP7:python3-filelock-3.0.12-150100.3.6.1.noarch",
"SUSE Linux Enterprise Module for Package Hub 15 SP7:python3-filelock-3.0.12-150100.3.6.1.noarch"
]
}
],
"threats": [
{
"category": "impact",
"date": "2026-01-09T09:12:48Z",
"details": "moderate"
}
],
"title": "CVE-2025-68146"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…