Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-28779
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:34 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 17 Mar 2026, 10:15 UTC

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.

osv:CVE-2026-28779
Complete source record
{
  "id": "37f0c7d4a8e6d32f670d469f00ceca52c368fb85c2841a683efc170b2262d5fa",
  "url": "https://osv.dev/vulnerability/CVE-2026-28779",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Airflow: Path of session token in cookie does not consider base_url - session hijacking via co-hosted applications",
    "summary": "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.",
    "evidence": "osv:CVE-2026-28779",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-28779",
      "aliases": [
        "BIT-airflow-2026-28779",
        "CVE-2026-28779",
        "GHSA-4fhm-p86v-hwpx",
        "PYSEC-2026-16"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/airflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1fc3442f1307fdf5e1221b26f41266c4fed330d3"
                },
                {
                  "fixed": "27f9660ab259e27157e6814310e9e4dc19e8be08"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.1.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.1.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28779.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.458634174Z",
      "provider": "osv",
      "references": [
        "https://pypi.python.org",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28779.json",
        "https://lists.apache.org/thread/r4n5znb8mcq14wo9v8ndml36nxlksdqb",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-28779",
        "https://github.com/apache/airflow/pull/62771"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-668"
        ],
        "cna_assigner": "apache",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28779.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-28779",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493838,
  "published_at": "2026-03-17T10:15:59.132+00:00"
}