{"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-2026-22701: Fixed TOCTOU race condition in SoftFileLock implementation \n  of he filelock package (bsc#1256457)\n","title":"Description of the patch"},{"category":"details","text":"SUSE-2026-335,SUSE-SLE-Module-Development-Tools-15-SP7-2026-335,SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-335","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_0335-1.json"},{"category":"self","summary":"URL for SUSE-SU-2026:0335-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20260335-1/"},{"category":"self","summary":"E-Mail link for SUSE-SU-2026:0335-1","url":"https://lists.suse.com/pipermail/sle-security-updates/2026-January/023987.html"},{"category":"self","summary":"SUSE Bug 1256457","url":"https://bugzilla.suse.com/1256457"},{"category":"self","summary":"SUSE CVE CVE-2026-22701 page","url":"https://www.suse.com/security/cve/CVE-2026-22701/"}],"title":"Security update for python-filelock","tracking":{"current_release_date":"2026-01-29T10:15:42Z","generator":{"date":"2026-01-29T10:15:42Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"SUSE-SU-2026:0335-1","initial_release_date":"2026-01-29T10:15:42Z","revision_history":[{"date":"2026-01-29T10:15:42Z","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.9.1.noarch","product":{"name":"python2-filelock-3.0.12-150100.3.9.1.noarch","product_id":"python2-filelock-3.0.12-150100.3.9.1.noarch"}},{"category":"product_version","name":"python3-filelock-3.0.12-150100.3.9.1.noarch","product":{"name":"python3-filelock-3.0.12-150100.3.9.1.noarch","product_id":"python3-filelock-3.0.12-150100.3.9.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.9.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.9.1.noarch"},"product_reference":"python3-filelock-3.0.12-150100.3.9.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.9.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.9.1.noarch"},"product_reference":"python3-filelock-3.0.12-150100.3.9.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise Module for Package Hub 15 SP7"}]},"vulnerabilities":[{"cve":"CVE-2026-22701","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2026-22701"}],"notes":[{"category":"general","text":"filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition vulnerability exists in the SoftFileLock implementation of the filelock package. An attacker with local filesystem access and permission to create symlinks can exploit a race condition between the permission validation and file creation to cause lock operations to fail or behave unexpectedly. The vulnerability occurs in the _acquire() method between raise_on_not_writable_file() (permission check) and os.open() (file creation). During this race window, an attacker can create a symlink at the lock file path, potentially causing the lock to operate on an unintended target file or leading to denial of service. This issue has been patched in version 3.20.3.","title":"CVE description"}],"product_status":{"recommended":["SUSE Linux Enterprise Module for Development Tools 15 SP7:python3-filelock-3.0.12-150100.3.9.1.noarch","SUSE Linux Enterprise Module for Package Hub 15 SP7:python3-filelock-3.0.12-150100.3.9.1.noarch"]},"references":[{"category":"external","summary":"CVE-2026-22701","url":"https://www.suse.com/security/cve/CVE-2026-22701"},{"category":"external","summary":"SUSE Bug 1256457 for CVE-2026-22701","url":"https://bugzilla.suse.com/1256457"}],"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.9.1.noarch","SUSE Linux Enterprise Module for Package Hub 15 SP7:python3-filelock-3.0.12-150100.3.9.1.noarch"]}],"scores":[{"cvss_v3":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},"products":["SUSE Linux Enterprise Module for Development Tools 15 SP7:python3-filelock-3.0.12-150100.3.9.1.noarch","SUSE Linux Enterprise Module for Package Hub 15 SP7:python3-filelock-3.0.12-150100.3.9.1.noarch"]}],"threats":[{"category":"impact","date":"2026-01-29T10:15:42Z","details":"moderate"}],"title":"CVE-2026-22701"}]}