From 47f3b7ca8b0e9a48a67376fb4103a89307e86b22 Mon Sep 17 00:00:00 2001 From: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Date: Fri, 4 Dec 2026 14:06:12 +0530 Subject: [PATCH] fix(security): bump filelock to 4.3.2 (#39737) CVE-2026-144349 / GHSA-jcf5-mpj4-xfg8: on POSIX, filelock's ReadWriteLock can remove empty directories from an unrelated directory owned by the locking account (affected 4.2.1 to before 4.3.0). Raise the Python 3.11+ floor to 4.3.0 and move the in-tree Airflow constraint pin and uv.lock to 4.3.2. (cherry picked from commit 34d087beb37bf8a628926fd57086a430295ab7fa) --- ingestion/airflow-constraints-3.3.2.txt | 2 +- ingestion/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestion/airflow-constraints-3.3.2.txt b/ingestion/airflow-constraints-3.3.2.txt index 481911ab37f8..c81f29c98d79 100644 --- a/ingestion/airflow-constraints-3.3.2.txt +++ b/ingestion/airflow-constraints-3.3.2.txt @@ -310,7 +310,7 @@ fastavro==1.12.2 fastcore==2.2.23 fastjsonschema==2.22.2 fastuuid==0.14.0 -filelock==4.2.10 +filelock==4.3.2 flask-appbuilder==5.2.2 flask-babel==4.0.0 flower==2.1.0 diff --git a/ingestion/setup.py b/ingestion/setup.py index b8021c2ba33a..b10831485627 100644 --- a/ingestion/setup.py +++ b/ingestion/setup.py @@ -233,7 +233,7 @@ "oauthlib>=4.0.1", # GHSA-3jp2-3mrg-2vxc: device-code grant issues a token for any device_code # The fixes below need Python 3.11, so the Python 3.10 fork keeps the vulnerable releases. 'dnspython>=2.9.2; python_version >= "3.11"', # GHSA-45c3-73f7-pv4m: name decompression CPU DoS; CVE-2026-128089 - 'filelock>=4.2.1; python_version >= "3.11"', # GHSA-v4x8-3wr5-3wq8: ReadWriteLock follows planted symlinks + 'filelock>=4.3.0; python_version >= "3.11"', # GHSA-v4x8-3wr5-3wq8 (symlinks); GHSA-jcf5-mpj4-xfg8 (ReadWriteLock removes unrelated empty dirs) } plugins: Dict[str, Set[str]] = { # noqa: UP006