CVE-2026-41017: CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in Apache Software Foundation Apache Airflow
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.
AI Analysis
Technical Summary
The vulnerability in Apache Airflow 3.0.0 involves the JWTRefreshMiddleware setting the JWT authentication cookie without the 'Secure' attribute. This means that in deployments where the Airflow API server is accessed through an HTTPS-terminating reverse proxy that forwards plaintext HTTP requests internally, the JWT cookie can be transmitted over unencrypted HTTP. A network attacker can exploit this by capturing the JWT cookie from an induced HTTP request and replaying it to authenticate against the API server. This affects session integrity and confidentiality in typical cloud-native topologies where TLS termination is offloaded to a proxy. The recommended remediation is upgrading to Apache Airflow 3.2.2 or later, which presumably sets the 'Secure' flag correctly.
Potential Impact
The impact is that an attacker with network access can capture and replay a user's JWT authentication cookie if the user’s browser issues an HTTP request to the Airflow API server hostname. This compromises session confidentiality and allows unauthorized API access, potentially leading to unauthorized actions within the Airflow environment. The vulnerability specifically affects deployments using TLS-terminating reverse proxies that forward plaintext HTTP traffic to the Airflow API server, which is a common deployment pattern.
Mitigation Recommendations
Users should upgrade to Apache Airflow version 3.2.2 or later, where this issue is addressed by setting the 'Secure' attribute on the JWT authentication cookie. No official patch or advisory content is provided in the input data, so patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until upgraded, avoid configurations where the Airflow API server receives plaintext HTTP traffic from TLS-terminating proxies or ensure that all traffic to the API server is encrypted end-to-end.
CVE-2026-41017: CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in Apache Software Foundation Apache Airflow
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache Airflow 3.0.0 involves the JWTRefreshMiddleware setting the JWT authentication cookie without the 'Secure' attribute. This means that in deployments where the Airflow API server is accessed through an HTTPS-terminating reverse proxy that forwards plaintext HTTP requests internally, the JWT cookie can be transmitted over unencrypted HTTP. A network attacker can exploit this by capturing the JWT cookie from an induced HTTP request and replaying it to authenticate against the API server. This affects session integrity and confidentiality in typical cloud-native topologies where TLS termination is offloaded to a proxy. The recommended remediation is upgrading to Apache Airflow 3.2.2 or later, which presumably sets the 'Secure' flag correctly.
Potential Impact
The impact is that an attacker with network access can capture and replay a user's JWT authentication cookie if the user’s browser issues an HTTP request to the Airflow API server hostname. This compromises session confidentiality and allows unauthorized API access, potentially leading to unauthorized actions within the Airflow environment. The vulnerability specifically affects deployments using TLS-terminating reverse proxies that forward plaintext HTTP traffic to the Airflow API server, which is a common deployment pattern.
Mitigation Recommendations
Users should upgrade to Apache Airflow version 3.2.2 or later, where this issue is addressed by setting the 'Secure' attribute on the JWT authentication cookie. No official patch or advisory content is provided in the input data, so patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until upgraded, avoid configurations where the Airflow API server receives plaintext HTTP traffic from TLS-terminating proxies or ensure that all traffic to the API server is encrypted end-to-end.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-16T02:56:54.451Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d4e71e29bf47b50cd496f
Added to database: 6/1/2026, 9:18:41 AM
Last enriched: 6/1/2026, 9:48:45 AM
Last updated: 6/2/2026, 7:28:09 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.