Apache Airflow: JWT cookie missing Secure flag in JWTRefreshMiddleware behind HTTPS-terminating proxy
Published Jun 1, 2026
5.9
MEDIUMCVSS 3.1
EPSS 0.38%
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
-
- Version 3.0.0StatusaffectedConstraints<3.2.2
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Airflow | unaffected |
|
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (7)
- http://www.openwall.com/lists/oss-security/2026/05/31/6 Mailing ListThird Party Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-33593 Advisory
- https://github.com/advisories/GHSA-95v7-h9j5-gvjr Advisory
- https://github.com/apache/airflow/pull/65348 patchIssue Tracking
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-171.yaml
- https://lists.apache.org/thread/9jx0sk49c1250zflx0q3clc717qgjdch vendor-advisoryMailing ListVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-41017
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/05/31/6 | Mailing ListThird Party Advisory | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-33593 | Advisory | |
| https://github.com/advisories/GHSA-95v7-h9j5-gvjr | Advisory | |
| https://github.com/apache/airflow/pull/65348 | patchIssue Tracking | |
| https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-171.yaml | ||
| https://lists.apache.org/thread/9jx0sk49c1250zflx0q3clc717qgjdch | vendor-advisoryMailing ListVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-41017 |
Change history (0)
No recorded changes yet.