Apache Airflow: Path of session token in cookie does not consider base_url - session hijacking via co-hosted applications
High severity
GitHub Reviewed
Published
Mar 17, 2026
to the GitHub Advisory Database
•
Updated Mar 18, 2026
Description
Published by the National Vulnerability Database
Mar 17, 2026
Published to the GitHub Advisory Database
Mar 17, 2026
Reviewed
Mar 18, 2026
Last updated
Mar 18, 2026
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.
References