Skip to main content

Apache Airflow EUVDEUVD-2026-33593

| CVE-2026-41017 MEDIUM
Sensitive Cookie in HTTPS Session Without 'Secure' Attribute (CWE-614)
5.9
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Airflow instance behind HTTPS proxy
  2. Delivery
    Confirm missing Secure flag on JWT cookie
  3. Exploit
    Achieve network interception position (ARP spoof or rogue AP)
  4. Execution
    Intercept HTTP request carrying JWT cookie
  5. Persist
    Replay stolen JWT to Airflow API
  6. Impact
    Access authenticated session and DAG data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V3 - Web Frontend Security Secure cookie flag
Exploitation Conditions

Exploitation requires three simultaneous conditions: first, Airflow 3.0.0 through 3.2.1 must be deployed behind an HTTPS-terminating reverse proxy (e.g., nginx, AWS ALB) with no ssl_cert value set in [api] config - the default for proxy-offloaded deployments; second, the attacker must achieve a network man-in-the-middle position between the victim's browser and a server reachable over HTTP, or must be able to trigger an HTTP request carrying the Airflow cookie (e.g., mixed-content page, HTTP redirect); third, the victim must have an active Airflow session whose JWT cookie gets transmitted. Exploitation is limited by AC:H - gaining a network interception position is non-trivial in hardened cloud environments. Pure-HTTPS networks enforcing HSTS eliminate the practical attack path. Deployments where Airflow's ssl_cert is explicitly configured are not vulnerable regardless of proxy topology.

Impact

CVSS 5.9 (Medium) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N accurately characterizes this issue. The High confidentiality impact reflects full JWT session token theft enabling impersonation, while AC:H reflects the prerequisite that the attacker must be network-positioned to intercept traffic - not trivially achievable in most cloud environments. EPSS at 0.01% (2nd percentile) aligns with the high complexity requirement; this is not easily mass-exploitable. KEV status is negative and no POC has been identified, making active exploitation unlikely in the near term. The real-world risk is highest in environments where Airflow is accessible via HTTP endpoints (even partially), where users share network segments with potential adversaries, or where SSRF or open-redirect conditions could coerce a browser into an HTTP request carrying the cookie. This is a genuine configuration-class vulnerability - easy to patch, modest blast radius under normal deployment hardening - and does not warrant emergency response but should be addressed in the next patch cycle.

Exploit ScenarioDerived

An attacker on the same network segment as an Airflow user - or operating a rogue access point or ARP-spoofing tool - intercepts HTTP traffic from the user's browser to a resource on the same host or triggers an HTTP sub-request that carries the unprotected JWT cookie. Because the cookie lacks the Secure flag, the browser transmits it on the plain HTTP leg of the interaction. The attacker captures the JWT refresh token and replays it against the Airflow API to assume the victim's authenticated session, gaining full access to DAGs, task logs, and any secrets accessible under that user's RBAC role. No public POC exists at time of analysis, but the attack requires only standard network interception tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 01, 2026

JWT session cookies in Apache Airflow's JWTRefreshMiddleware are set without the Secure flag when Airflow runs behind an HTTPS-terminating reverse proxy, exposing them to network interception. Affected versions span Apache Airflow 3.0.0 through 3.2.1 (exclusive), where the middleware checked only for a local ssl_cert configuration setting to determine cookie security - missing the common deployment pattern where TLS is offloaded at a load balancer or proxy layer. An unauthenticated network adversary positioned for man-in-the-middle interception could capture a user's JWT refresh cookie and take over their authenticated session. No public exploit code or CISA KEV listing exists at time of analysis; EPSS of 0.01% reflects low automated exploitation likelihood.

RemediationAI

Vendor-released patch: Apache Airflow 3.2.2, which incorporates the fix from GitHub PR #65348 (https://github.com/apache/airflow/pull/65348). Upgrading to 3.2.2 or later is the recommended and definitive remediation. As a compensating control for operators who cannot immediately upgrade, configuring the ssl_cert setting under the [api] section of airflow.cfg to a valid certificate path will trigger the secure flag even in the buggy code path - though this may require Airflow to handle TLS directly, altering the deployment architecture. Alternatively, ensuring all user-facing paths strictly enforce HTTPS with HSTS headers at the proxy layer (preventing browser fallback to HTTP) reduces the practical window for cookie interception. Neither compensating control fully resolves the root cause; upgrade to 3.2.2 is the only complete fix. Advisory references: https://lists.apache.org/thread/9jx0sk49c1250zflx0q3clc717qgjdch and https://vuldb.com/vuln/367558.

Affected VersionsENISA

Apache Airflow 3.0.0 <3.2.2

Affected Packages

pypi apache-airflow fix: 3.2.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable component is JWTRefreshMiddleware in airflow-core/src/airflow/api_fastapi/auth/middlewares/refresh_token.py, part of Airflow's FastAPI-based REST API surface. The middleware issues a refreshed JWT cookie on authenticated requests; the secure attribute of that Set-Cookie header was computed solely as bool(conf.get('api', 'ssl_cert', fallback='')). In standard reverse-proxy deployments (nginx, AWS ALB, GCP Load Balancer), TLS terminates at the proxy, and Airflow receives plain HTTP internally - so ssl_cert is typically unconfigured. CWE-614 (Sensitive Cookie in HTTPS Session Without 'Secure' Attribute) directly describes this class: absent the Secure flag, browsers will transmit the cookie on any HTTP request, not just HTTPS, allowing interception. The fix in PR #65348 augments the condition to also check request.base_url.scheme == 'https', which is populated from forwarded headers by the proxy. CPE cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* confirms the affected artifact is the Apache Airflow core package.

Know when Airflow gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
CVSS changed
Jun 01, 2026 - 17:22 NVD
5.9 (MEDIUM)
Patch available
Jun 01, 2026 - 10:01 EUVD
CVE Published
May 31, 2026 - 12:45 nvd
UNKNOWN (no severity yet)
CVE Published
May 31, 2026 - 12:45 nvd
MEDIUM 5.9

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 4 pypi packages depend on apache-airflow (2 direct, 2 indirect)

Ecosystem-wide dependent count for version 3.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2020-13927 CRITICAL POC
9.8 Nov 10

The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th

CVE-2020-11978 HIGH POC
8.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r

CVE-2021-38540 CRITICAL POC
9.8 Sep 09

The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV

CVE-2022-40127 HIGH POC
8.8 Nov 14

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb

CVE-2022-24288 HIGH POC
8.8 Feb 25

In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them

CVE-2022-45402 MEDIUM
6.1 Nov 15

In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium

CVE-2020-11981 CRITICAL POC
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2020-17526 HIGH POC
7.7 Dec 21

Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou

CVE-2020-11982 CRITICAL
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2020-13944 MEDIUM
6.1 Sep 17

In Apache Airflow < 1.10.12, the "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XS

CVE-2022-40189 CRITICAL
9.8 Nov 22

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl

CVE-2022-38649 CRITICAL
9.8 Nov 22

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy