CVE Catalog

CVE-2026-41017

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.27%

18th percentile - higher than 18% of all known CVEs

Summary

Apache Airflow before version 3.2.2 has a vulnerability in `JWTRefreshMiddleware` where the JWT cookie lacks the `Secure` flag. In deployments behind an HTTPS-terminating proxy, an attacker on the network (Wi-Fi MITM) can capture the cookie and replay it against the authenticated API.

Risk Assessment

The organization is at risk of session hijacking by a network attacker, leading to unauthorized API access and potential data compromise.

Recommendation

Upgrade Apache Airflow to version 3.2.2 or later, which sets the Secure flag on the JWT cookie.

Other vulnerabilities in Apache Airflow

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS