CVE-2026-41017: CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in Apache Software Foundation Apache Airflow
Apache Airflow version 3.0.0 has a vulnerability where the JWT authentication cookie is set without the Secure attribute. This affects deployments where the Airflow API server is behind an HTTPS-terminating reverse proxy that forwards plaintext HTTP traffic to the server. An attacker positioned on the network could capture the JWT cookie if a user’s browser sends an HTTP request to the same host, allowing session replay attacks. Users are advised to upgrade to version 3.2.2 or later to address this issue.
AI Analysis
Technical Summary
The vulnerability in Apache Airflow 3.0.0 involves the JWTRefreshMiddleware setting the JWT auth cookie without the Secure flag. In typical cloud-native deployments where TLS termination occurs at a reverse proxy (e.g., nginx, Envoy, or managed load balancers) and the API server receives unencrypted HTTP traffic, the JWT cookie can be transmitted over cleartext HTTP. This allows a network attacker capable of intercepting HTTP traffic (such as a Wi-Fi MITM or hostile LAN) to capture the JWT cookie and replay it to gain unauthorized API access. The issue affects session integrity when the Secure flag is relied upon to protect the cookie during HTTPS sessions. The vendor recommends upgrading to Apache Airflow 3.2.2 or later to mitigate this vulnerability.
Potential Impact
An attacker with network access can capture the JWT authentication cookie if a logged-in user's browser sends an HTTP request to the Airflow API server's hostname. This allows the attacker to replay the JWT cookie and potentially access the API with the user's privileges. The vulnerability compromises confidentiality of the JWT token but does not affect integrity or availability directly. The CVSS score is 5.9 (medium severity), reflecting the network attack vector with high complexity and no user interaction required.
Mitigation Recommendations
Users should upgrade Apache Airflow to version 3.2.2 or later, where this issue is fixed by setting the Secure attribute on the JWT authentication cookie. Until upgrade, ensure that all traffic to the Airflow API server is strictly HTTPS and that no HTTP requests can be made to the same hostname to prevent cookie leakage. Patch status is not explicitly stated in the vendor advisory, but the recommendation to upgrade to 3.2.2 or later indicates an official fix is available in those versions.
CVE-2026-41017: CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in Apache Software Foundation Apache Airflow
Description
Apache Airflow version 3.0.0 has a vulnerability where the JWT authentication cookie is set without the Secure attribute. This affects deployments where the Airflow API server is behind an HTTPS-terminating reverse proxy that forwards plaintext HTTP traffic to the server. An attacker positioned on the network could capture the JWT cookie if a user’s browser sends an HTTP request to the same host, allowing session replay attacks. Users are advised to upgrade to version 3.2.2 or later to address this issue.
CVSS v3.1
Score 5.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache Airflow 3.0.0 involves the JWTRefreshMiddleware setting the JWT auth cookie without the Secure flag. In typical cloud-native deployments where TLS termination occurs at a reverse proxy (e.g., nginx, Envoy, or managed load balancers) and the API server receives unencrypted HTTP traffic, the JWT cookie can be transmitted over cleartext HTTP. This allows a network attacker capable of intercepting HTTP traffic (such as a Wi-Fi MITM or hostile LAN) to capture the JWT cookie and replay it to gain unauthorized API access. The issue affects session integrity when the Secure flag is relied upon to protect the cookie during HTTPS sessions. The vendor recommends upgrading to Apache Airflow 3.2.2 or later to mitigate this vulnerability.
Potential Impact
An attacker with network access can capture the JWT authentication cookie if a logged-in user's browser sends an HTTP request to the Airflow API server's hostname. This allows the attacker to replay the JWT cookie and potentially access the API with the user's privileges. The vulnerability compromises confidentiality of the JWT token but does not affect integrity or availability directly. The CVSS score is 5.9 (medium severity), reflecting the network attack vector with high complexity and no user interaction required.
Mitigation Recommendations
Users should upgrade Apache Airflow to version 3.2.2 or later, where this issue is fixed by setting the Secure attribute on the JWT authentication cookie. Until upgrade, ensure that all traffic to the Airflow API server is strictly HTTPS and that no HTTP requests can be made to the same hostname to prevent cookie leakage. Patch status is not explicitly stated in the vendor advisory, but the recommendation to upgrade to 3.2.2 or later indicates an official fix is available in those versions.
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: 06/01/2026, 09:18:41 UTC
Last enriched: 07/10/2026, 09:58:31 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 63
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.