Skip to content
Heist/ feed
Back to feed
High

Apache Airflow: Unsafe Deserialization via Legacy Serialization Keys (__type/__var) Bypass in XCom API

Type: advisorySources: OSV

Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload causing the webserver to execute arbitrary code. Since Dag Authors are already highly trusted, severity of this issue is Low. Users are recommended to upgrade to Apache Airflow 3.2.0, which resolves this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-33858
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 06:00 UTC · Revision 1

Source evidence

Apache Airflow: Unsafe Deserialization via Legacy Serialization Keys (__type/__var) Bypass in XCom API

core-osv · Original source

Published 13 Apr 2026, 14:36 UTC

Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload causing the webserver to execute arbitrary code. Since Dag Authors are already highly trusted, severity of this issue is Low. Users are recommended to upgrade to Apache Airflow 3.2.0, which resolves this issue.

osv:CVE-2026-33858
Complete source record
{
  "id": "fe3a052dba6caca28f21d7d91f834cfd56d4af21cf06d299cbcc27b1ea158a84",
  "url": "https://osv.dev/vulnerability/CVE-2026-33858",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Airflow: Unsafe Deserialization via Legacy Serialization Keys (__type/__var) Bypass in XCom API",
    "summary": "Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload causing the webserver to execute arbitrary code. Since Dag Authors are already highly trusted, severity of this issue is Low. Users are recommended to upgrade to Apache Airflow 3.2.0, which resolves this issue.",
    "evidence": "osv:CVE-2026-33858",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-33858",
      "aliases": [
        "BIT-airflow-2026-33858",
        "CVE-2026-33858",
        "GHSA-mc4f-r875-v87w",
        "PYSEC-2026-20"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/airflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "27f9660ab259e27157e6814310e9e4dc19e8be08"
                },
                {
                  "fixed": "37069948c093e4b6720ec4821ff0ed7d6c069935"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.1.8"
                      },
                      {
                        "fixed": "3.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.8"
                      },
                      {
                        "fixed": "3.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33858.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.062559319Z",
      "provider": "osv",
      "references": [
        "https://pypi.python.org",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33858.json",
        "https://lists.apache.org/thread/1npt3o2x81s0gw9tmfcv4n7p1z9hdmy0",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-33858",
        "https://github.com/apache/airflow/pull/64148"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "cna_assigner": "apache",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33858.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-33858",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510910,
  "published_at": "2026-04-13T14:36:30.956+00:00"
}