Repository navigation
fix: pin apache-airflow<3.0.0 — resolve 8 Dependabot security alerts - #160
Merged
Merged
Conversation
All 8 CVEs (CVE-2025-62402, CVE-2025-62503, CVE-2025-66388, CVE-2025-65995, CVE-2025-68438, CVE-2025-68675, CVE-2026-22922, CVE-2026-24098) affect apache-airflow>=3.0.0 only. airflow 3.x also conflicts with fastapi>=0.128.4 (requires <0.118.0). Pin to >=2.8.0,<3.0.0 — resolves to 2.11.2 which is clean. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 of 2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
All 8 open Dependabot alerts are apache-airflow CVEs that only affect airflow 3.x (
>= 3.0.0):Why not upgrade to airflow 3.1.7+?
airflow 3.x requires
fastapi<0.118.0but this project usesfastapi>=0.128.4— they are incompatible. Upgrading airflow 3.x would require downgrading FastAPI across the entire framework.Fix
Pin
apache-airflow>=2.8.0,<3.0.0→ resolves to2.11.2(latest stable 2.x, zero CVEs).The
datadependency group is optional and used for pipeline/DAG workloads. airflow 2.x is still actively maintained and fully functional for this use case.Test plan
uv locksucceeds, resolves toapache-airflow==2.11.2datagroup, not installed in CI)🤖 Generated with Claude Code