GitHub Advisoryadvisory · PyPI
GHSA-95v7-h9j5-gvjr Apache Airflow has a Sensitive Cookie in HTTPS Session Without 'Secure' Attribute
MEDIUM
Official page ↗
- Aliases
- CVE-2026-41017
- Ecosystem
- PyPI
- Packages
- apache-airflow
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-614
- Reviewed
- 2026-07-09
Affected packages
• PyPI apache-airflow: >= 3.0.0, < 3.2.2 → fixed in 3.2.2
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.
Related
Alias · CVE (1)
- CVE-2026-41017 Apache Airflow's `JWTRefreshMiddleware` set the JWT auth cookie without the `Secure` flag, so deployments running the Airflow API server… vulnerability
Weakness · CWE (1)
- CWE-614 Sensitive Cookie in HTTPS Session Without 'Secure' Attribute weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41017 advisory
- https://github.com/apache/airflow/pull/65348 web
- https://github.com/apache/airflow package
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-171.yaml web
- https://lists.apache.org/thread/9jx0sk49c1250zflx0q3clc717qgjdch web
- http://www.openwall.com/lists/oss-security/2026/05/31/6 web