Airflow session token hijack
High · prioritize
Risk assessment
Attacker hijacks user sessions across all paths, bypassing base_url restrictions. Upgrade Airflow to 3.1.8 or later to fix.
What to do
The vendor has published a patch — see the "Vendor Patch" link in the references section. If you cannot patch immediately, review mitigation guidance in this advisory and monitor for exploitation attempts.
- Install the vendor fix: vendor patch
- Upgrade apache-airflow (PyPI) to 3.1.8 or later.
- Not sure which version you run? Check your version
- Remediation and Mitigation in this advisory
Vendor-confirmed - CVE-2026-28779 is a high session hijacking vulnerability in Apache Airflow 3.1.0 through 3.1.7 that leaks session tokens to any co-hosted application on the same domain, enabling full account takeover without authentication. Apply the patched version 3.1.8 immediately.
Overview
A security vulnerability, tracked as CVE-2026-28779, has been identified in Apache Airflow, a popular platform for programmatically authoring, scheduling, and monitoring workflows. This flaw affects session management and could allow an attacker to hijack a user’s active session.
Vulnerability Details
In affected versions (3.1.0 through 3.1.7), Airflow incorrectly sets the path for its session token cookie (_token). Regardless of the configured base_url for the webserver or API, the cookie is always set to path=/. This means the session token is sent in HTTP requests to any application or endpoint hosted on the same domain as the Airflow instance, not just to the Airflow application path.
Impact and Risk
The impact of this vulnerability is severe (CVSS score 7.5, HIGH). If another application is hosted under the same domain-for example, a different web app on the same server-that application can capture the valid Airflow session tokens from incoming HTTP request headers. An attacker controlling or compromising that co-hosted application could then use the stolen token to impersonate the user within Airflow without needing a password or directly attacking Airflow itself. This leads to a full session takeover, granting the attacker the same permissions and access as the compromised user, which could result in data theft, workflow manipulation, or further system compromise.
For context on the risks of credential exposure, recent incidents are detailed in our breach reports.
Remediation and Mitigation
The primary and most effective action is to upgrade Apache Airflow to version 3.1.8 or later. This update corrects the cookie path setting, ensuring session tokens are only sent to the intended Airflow base URL.
If an immediate upgrade is not possible, consider these temporary mitigation strategies:
- Isolate the Airflow Instance: Host Apache Airflow on its own dedicated domain or subdomain to prevent cookie sharing with other applications.
- Review Co-hosted Applications: Audit any other applications sharing the Airflow instance’s domain. Ensure they are fully trusted and secured, as they could become an attack vector.
- Monitor for Suspicious Activity: Increase monitoring of authentication logs and user sessions within Airflow for any unauthorized access.
Staying informed on such vulnerabilities is crucial for maintaining security posture. Follow the latest developments in our security news section.
Conclusion
CVE-2026-28779 is a high-risk session management flaw that undermines the isolation of the Apache Airflow application. Administrators should prioritize applying the official patch by upgrading to Airflow 3.1.8+ to prevent potential account takeover and protect their data orchestration environments.
Exploit references Version check Show
Am I Affected by CVE-2026-28779?
Pick an ecosystem, paste your installed version, and we'll compare it against the fixed version published on OSV.dev. Browser-only — nothing is sent to a server.
Heuristic comparison only. Always cross-check against the vendor advisory before making patching decisions.
Get a Telegram alert when the next one lands: Apache advisories
Related
- CVE-2026-33858 · Airflow webserver code execution by Dag AuthorsApr 13, 2026
- CVE-2026-30911 · Airflow lets tasks read HITL dataMar 17, 2026
- CVE-2026-39911 · Hashgraph Guardian RCEApr 9, 2026
- CVE-2026-20160 · Cisco SSM On-Prem RCEApr 1, 2026