Skip to content

CVE-2026-41017 Apache Airflow: JWT cookie missing Secure flag in JWTRefreshMiddleware behind HTTPS-terminating proxy

MediumCVSS 5.9 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known

Description

Apache Airflow's JWTRefreshMiddleware set the JWT auth cookie without the Secure flag, so deployments running the Airflow API server behind an HTTPS-terminating reverse proxy (e.g. nginx / Envoy / a managed load balancer that terminates TLS and forwards plaintext to the API server, the default cloud-native topology) would have the user's session JWT replayed over any cleartext HTTP request to the same host. A network-positioned attacker (Wi-Fi MITM, hostile LAN, captive-portal proxy) could induce a logged-in user's browser to issue an HTTP request to the deployment's hostname and capture the JWT cookie out of that request, then replay it against the authenticated API. Affects deployments where the Airflow API server is reached through a TLS-terminating proxy and the cookie's secure-by-default protection is load-bearing for session integrity. Users are advised to upgrade to apache-airflow 3.2.2 or later.

Affected products

ProductAffected versionsFixed in
pypi apache-airflow-core(PyPI) >= 3.0.0, < 3.2.2 3.2.2
pypi apache-airflow(PyPI) >= 3.0.0, < 3.2.2 3.2.2
pypi apache-airflow(PyPI) = 3.0.0 No fix listed
pypi apache-airflow(PyPI) = 3.0.1 No fix listed
pypi apache-airflow(PyPI) = 3.0.1rc1 No fix listed
pypi apache-airflow(PyPI) = 3.0.2 No fix listed
pypi apache-airflow(PyPI) = 3.0.2rc1 No fix listed
pypi apache-airflow(PyPI) = 3.0.2rc2 No fix listed
pypi apache-airflow(PyPI) = 3.0.3 No fix listed
pypi apache-airflow(PyPI) = 3.0.3rc1 No fix listed
pypi apache-airflow(PyPI) = 3.0.3rc2 No fix listed
pypi apache-airflow(PyPI) = 3.0.3rc3 No fix listed
pypi apache-airflow(PyPI) = 3.0.3rc4 No fix listed
pypi apache-airflow(PyPI) = 3.0.3rc5 No fix listed
pypi apache-airflow(PyPI) = 3.0.3rc6 No fix listed
pypi apache-airflow(PyPI) = 3.0.4 No fix listed
pypi apache-airflow(PyPI) = 3.0.4rc1 No fix listed
pypi apache-airflow(PyPI) = 3.0.4rc2 No fix listed
pypi apache-airflow(PyPI) = 3.0.5 No fix listed
pypi apache-airflow(PyPI) = 3.0.5rc1 No fix listed
pypi apache-airflow(PyPI) = 3.0.5rc2 No fix listed
pypi apache-airflow(PyPI) = 3.0.5rc3 No fix listed
pypi apache-airflow(PyPI) = 3.0.6 No fix listed
pypi apache-airflow(PyPI) = 3.0.6rc1 No fix listed
pypi apache-airflow(PyPI) = 3.0.6rc2 No fix listed
Show 39 more
ProductAffected versionsFixed in
pypi apache-airflow(PyPI) = 3.1.0 No fix listed
pypi apache-airflow(PyPI) = 3.1.0b1 No fix listed
pypi apache-airflow(PyPI) = 3.1.0b2 No fix listed
pypi apache-airflow(PyPI) = 3.1.0rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.0rc2 No fix listed
pypi apache-airflow(PyPI) = 3.1.1 No fix listed
pypi apache-airflow(PyPI) = 3.1.1rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.1rc2 No fix listed
pypi apache-airflow(PyPI) = 3.1.2 No fix listed
pypi apache-airflow(PyPI) = 3.1.2rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.2rc2 No fix listed
pypi apache-airflow(PyPI) = 3.1.3 No fix listed
pypi apache-airflow(PyPI) = 3.1.3rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.4 No fix listed
pypi apache-airflow(PyPI) = 3.1.4rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.4rc2 No fix listed
pypi apache-airflow(PyPI) = 3.1.5 No fix listed
pypi apache-airflow(PyPI) = 3.1.5rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.6 No fix listed
pypi apache-airflow(PyPI) = 3.1.6rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.7 No fix listed
pypi apache-airflow(PyPI) = 3.1.7rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.7rc2 No fix listed
pypi apache-airflow(PyPI) = 3.1.8 No fix listed
pypi apache-airflow(PyPI) = 3.1.8rc1 No fix listed
pypi apache-airflow(PyPI) = 3.1.8rc2 No fix listed
pypi apache-airflow(PyPI) = 3.2.0 No fix listed
pypi apache-airflow(PyPI) = 3.2.0b1 No fix listed
pypi apache-airflow(PyPI) = 3.2.0b2 No fix listed
pypi apache-airflow(PyPI) = 3.2.0rc1 No fix listed
pypi apache-airflow(PyPI) = 3.2.0rc2 No fix listed
pypi apache-airflow(PyPI) = 3.2.1 No fix listed
pypi apache-airflow(PyPI) = 3.2.1rc1 No fix listed
pypi apache-airflow(PyPI) = 3.2.1rc2 No fix listed
pypi apache-airflow(PyPI) = 3.2.1rc3 No fix listed
pypi apache-airflow(PyPI) = 3.2.2rc1 No fix listed
pypi apache-airflow(PyPI) = 3.2.2rc2 No fix listed
pypi apache-airflow(PyPI) = 3.2.2rc3 No fix listed
apache airflow >= 3.0.0, < 3.2.2 3.2.2

References