Repository navigation
fix(security): bump filelock to 4.3.2 - #39737
Conversation
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.
Code Review ✅ Approved 🟡 Medium riskThe ingestion lockfile and constraints now use filelock 4.3.2, so changed locking behavior could affect Python 3.11+ dependency workflows. Bumps VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the dependency updates, though image builds and runtime tests remain unverified.
No open issues 🎉
What changed in this PR
Updates ingestion dependencies to address the reported filelock directory-deletion vulnerability while preserving the Python 3.10 fallback.
Changes:
- Raises the Python 3.11+ minimum to
filelock>=4.3.0. - Updates Airflow constraints and uv lock entries to
4.3.2.
Placement: Covers pip-installed ingestion, Airflow constraints, and locked tooling. Downstream Collate images were not verified.
Trade-off: none
Recommendation: Approve the supplied dependency changes; image builds and runtime tests remain unverified.
| File | Description |
|---|---|
ingestion/uv.lock |
Updates filelock resolutions, artifacts, and requirement metadata. |
ingestion/setup.py |
Raises the security floor for Python 3.11+. |
ingestion/airflow-constraints-3.3.2.txt |
Pins filelock to 4.3.2 for constrained installs. |
Review effort: Balanced
|
🤖 Backport to |
|
🤖 Backport to |
|
🤖 Backport to |
|
🤖 Backport to |
…on (#39825) ingestion/setup.py moved the Python 3.11+ filelock floor to 4.3.0 for GHSA-jcf5-mpj4-xfg8 (#39737). Match it in openmetadata-airflow-apis and relock, which also picks up ingestion's new specifier. The resolved version stays 4.3.1.
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 34d087b) Co-authored-by: Karan Hotchandani <[email protected]>
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 34d087b) Co-authored-by: Karan Hotchandani <[email protected]>
Surfaced by the Collate security scan on 2026-12-04; the OpenMetadata scanner did not flag this independently. Verified present in
ingestion/uv.lockandingestion/airflow-constraints-3.3.2.txtat 4.2.10, fix 4.3.0.Advisory
CVE-2026-144349 / GHSA-jcf5-mpj4-xfg8 (Medium): on POSIX, filelock's
ReadWriteLockcan remove empty directories from an unrelated directory owned by the locking account. Affects 4.2.1 to before 4.3.0 (OSV).Raw scanner finding (Collate handoff)
filelockcurrent 4.2.10, fix 4.3.0 (CVE-2026-144349 / GHSA-jcf5-mpj4-xfg8, Medium, Improper Check for Unusual Conditions)Change
ingestion/setup.py: Python 3.11+ floorfilelock>=4.2.1becomes>=4.3.0. The Python 3.10 fork stays on 3.32.7, because 4.x requires Python 3.11 or later. That matches the existing pattern.ingestion/airflow-constraints-3.3.2.txt:filelock==4.2.10becomes4.3.2. This is an in-tree security override (ADR:2026-10-23-ingestion-images-pin-python-security-packages-in-tree).ingestion/uv.lock: regenerated with the pinneduv 0.13.4 lock --upgrade-package filelock. The diff is 16 lines and touches filelock only.Verified
>=4.2.1,<4.3.0covers 4.2.10. PyPI has 4.3.0 through 4.3.2.virtualenv 21.14.12:<5,>=3.24.2snowflake-connector-python 4.8.1:<5,>=3.12python-discovery 1.6.1:>=3.15.4filelock; it is transitive only. airflow-apis does (its tests useFileLock, andapi/utils.pyguards against filelock's fork hook), but its lock already resolves 4.3.1 on Python 3.11+. CI runs on Python 3.10 (filelock 3.32.7), so 4.3.x is not exercised by CI.import filelock; FileLock; ReadWriteLockworks on 4.3.2.ruff format/ruff checkare clean onsetup.py.Not tested
🤖 Generated with Claude Code