Sensitive Cookie in HTTPS Session Without 'Secure' Attribute
CVE-2026-41017
Summary
Apache Airflow contains a Session Hijacking vulnerability in "JWTRefreshMiddleware". The middleware sets the JWT authentication cookie without the "Secure" attribute, causing deployments behind HTTPS-terminating reverse proxies to transmit session cookies over cleartext HTTP requests. In deployments where TLS is terminated by a reverse proxy and traffic is forwarded to the Airflow API server, a network-positioned attacker may induce a logged-in user to make an HTTP request to the application and capture the JWT cookie. The attacker may then replay the cookie to gain unauthorized access to authenticated API functionality. This issue affects deployments that rely on the cookie "Secure" attribute to protect session integrity. This affects "apache-airflow" versions through 3.2.1.
- HIGH
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- HIGH
- NONE
CWE-614 - Sensitive Cookie in HTTPS Session Without 'Secure' Attribute
The Secure attribute for sensitive cookies in HTTPS sessions is not set, which could cause the user agent to send those cookies in plaintext over an HTTP session.
References
Advisory Timeline
- Published