Advisory

PYSEC-2026-16

Also known as: BIT-airflow-2026-28779, CVE-2026-28779, GHSA-4fhm-p86v-hwpx

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-03-17 11:16 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.1.8 (ecosystem)

Fixed versions

3.1.8

Fix

  • Fixed version 3.1.8
    pip install --upgrade apache-airflow==3.1.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences