HighGHSA-4fhm-p86v-hwpxBIT-airflow-2026-28779CVE-2026-28779PYSEC-2026-16

Apache Airflow: Path of session token in cookie does not consider base_url - session hijacking via co-hosted applications

Published 17 Mar 2026 · Updated 5 Jun 2026

Is your project on an affected apache-airflow?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=3.0.0 <3.1.8
Fixed in
3.1.8
Update to the fixed version for your release line, for example:pip install 'apache-airflow>=3.1.8'

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.

Is GHSA-4fhm-p86v-hwpx in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected apache-airflow, and gives you the command that fixes it.

More advisories for apache-airflow

  • LowCVE-2026-86473No summary published · 21 Sept 2026
  • LowCVE-2026-82355No summary published · 21 Sept 2026
  • LowCVE-2026-75158No summary published · 21 Sept 2026
  • MediumCVE-2026-68971Apache Airflow missing team context permits cross-team Dag actions and XCom reads · 12 Aug 2026
  • MediumCVE-2026-68969Apache Airflow bulk endpoints log Variable and Connection secrets in cleartext · 12 Aug 2026
  • MediumCVE-2026-68970Apache Airflow Task SDK fails to mask list-shaped JSON Variables · 12 Aug 2026
All 158 advisories for apache-airflow

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.