Skip to content

[2.0] fix(security): bump filelock to 4.3.2 - #39772

Merged
karanh37 merged 1 commit into
2.0from
backport/2.0/pr-39737
Dec 4, 2026
Merged

karanh37 merged 1 commit into
2.0from
backport/2.0/pr-39737

Conversation

@gh-bot-collate

@gh-bot-collate gh-bot-collate Bot commented Dec 4, 2026

Copy link
Copy Markdown

Automated backport of #39737 to 2.0.

Source PR #39737
Author @karanh37
Merge commit 34d087beb37bf8a628926fd57086a430295ab7fa
Method Conflicts resolved by Claude — worth a read of the diff.

Resolution notes

Backport notes: #39737 (fix(security): bump filelock to 4.3.2)

Conflict

git cherry-pick -x 34d087beb3 conflicted only on ingestion/uv.lock
(reported as "deleted by us").

ingestion/airflow-constraints-3.3.2.txt and ingestion/setup.py applied
cleanly and are staged as-is (filelock==4.2.10 → 4.3.2 constraint pin,
filelock>=4.2.1 → >=4.3.0 floor with the updated CVE comment).

Resolution

ingestion/uv.lock does not exist on 2.0 (git ls-tree HEAD -- ingestion/uv.lock is empty) — the uv.lock file was only introduced on
main after 2.0 diverged. The conflict was therefore not a real merge
conflict in the lockfile contents; it was git reporting "deleted by us"
because the file is absent on this branch entirely.

Resolved by git rm -f ingestion/uv.lock, i.e. kept the file absent, matching
2.0's existing state. No lockfile content was ported since there's no
lockfile here to update.

What a reviewer should check

  • The security fix itself (floor bump to filelock>=4.3.0 / pin
    filelock==4.3.2 in the Airflow constraints file) is fully present on this
    branch — that's the actual CVE remediation and it applied without
    modification.
  • Confirm 2.0 genuinely has no uv.lock (dependency resolution on this
    branch uses the Airflow constraints file + setup.py instead), so there is
    nothing else to update for this bump.

Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #39737 is asked to look.

resolver run

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)
@gh-bot-collate
gh-bot-collate Bot requested a review from a team as a code owner December 4, 2026 08:40
@gh-bot-collate
gh-bot-collate Bot requested review from ulixius9 and removed request for a team December 4, 2026 08:40
@gh-bot-collate gh-bot-collate Bot added the safe to test Add this label to run secure Github workflows on PRs label Dec 4, 2026
@gh-bot-collate

gh-bot-collate Bot commented Dec 4, 2026

Copy link
Copy Markdown
Author

🤖 This backport will not merge itself: 2.0 has no required status checks, so there is nothing for auto-merge to wait on. Merge it by hand once CI is green.

@karanh37
karanh37 merged commit 3424448 into 2.0 Dec 4, 2026
65 of 70 checks passed
@karanh37
karanh37 deleted the backport/2.0/pr-39737 branch December 4, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants