Skip to content

Commit 1a45a6a

Browse files
authored
Bump flask-appbuilder to 5.2.2 in FAB provider (#69730)
Flask-AppBuilder 5.2.2 ships security-manager hardening — LDAP search-filter escaping, OAuth email-whitelist regex anchoring, and API-login provider validation. Airflow's vendored security manager already escapes LDAP filters (and validates the search filter), and it inherits the OAuth whitelist matching from FAB's OAuth view via super(), so these fixes land without any change to the vendored override; the FAB alignment test confirms the vendored code stays structurally in sync with the new release.
1 parent f900d28 commit 1a45a6a

5 files changed

Lines changed: 9 additions & 8 deletions

File tree

providers/fab/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ PIP package Version required
5757
``apache-airflow-providers-common-compat`` ``>=1.12.0``
5858
``blinker`` ``>=1.6.2``
5959
``flask`` ``>=2.2.1``
60-
``flask-appbuilder`` ``==5.2.1``
60+
``flask-appbuilder`` ``==5.2.2``
6161
``pyjwt`` ``>=2.11.0``
6262
``flask-login`` ``>=0.6.2; python_version < "3.14"``
6363
``flask-login`` ``>=0.6.3; python_version >= "3.14"``

providers/fab/docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ PIP package Version required
111111
``apache-airflow-providers-common-compat`` ``>=1.12.0``
112112
``blinker`` ``>=1.6.2``
113113
``flask`` ``>=2.2.1``
114-
``flask-appbuilder`` ``==5.2.1``
114+
``flask-appbuilder`` ``==5.2.2``
115115
``pyjwt`` ``>=2.11.0``
116116
``flask-login`` ``>=0.6.2; python_version < "3.14"``
117117
``flask-login`` ``>=0.6.3; python_version >= "3.14"``

providers/fab/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ dependencies = [
7777
# Every time we update FAB version here, please make sure that you review the classes and models in
7878
# `airflow/providers/fab/auth_manager/security_manager/override.py` with their upstream counterparts.
7979
# In particular, make sure any breaking changes, for example any new methods, are accounted for.
80-
"flask-appbuilder==5.2.1", # Whenever updating the version, run test_fab_alignment.py to verify.
80+
"flask-appbuilder==5.2.2", # Whenever updating the version, run test_fab_alignment.py to verify.
8181
# Transitive via flask-appbuilder -> flask-jwt-extended; pinned here so the FAB
8282
# provider keeps installing cleanly when paired with older airflow-core releases
8383
# (the compat-3.0.6 matrix job) whose own pyjwt floor predates `jwt.types.Options`

providers/fab/tests/unit/fab/auth_manager/security_manager/test_fab_alignment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from airflow.providers.fab.auth_manager.security_manager.override import FabAirflowSecurityManagerOverride
4141

4242
# The FAB version that override.py was last aligned with.
43-
EXPECTED_FAB_VERSION = "5.2.1"
43+
EXPECTED_FAB_VERSION = "5.2.2"
4444

4545
# FAB public methods that override.py intentionally does NOT implement.
4646
# Every entry must have a comment explaining why it's excluded.

uv.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)