CVE-2026-33264: Apache Airflow RCE via Deserialization in BaseSerialization

CVE-2026-33264 · Severity: critical · CVSS 9.8 · Published 2026-07-07

Apache Airflow is a workflow orchestration platform that manages scheduled data pipeline jobs. A critical flaw in how Airflow deserializes DAG (Directed Acyclic Graph) configuration files allows an attacker who can author DAGs to inject malicious code that executes on the API Server or Scheduler—core processes that should only run trusted Airflow platform code. This completely breaks Airflow's security model and gives attackers full control over the infrastructure running the platform.

Technologies: Apache Airflow, apache-airflow (PyPI). Vendors: Apache, PyPI.

Quick answers

Is CVE-2026-33264 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-33264 being exploited in the wild.
How severe is CVE-2026-33264?
Critical severity, with a CVSS score of 9.8, published 7 July 2026.
Which products and versions are affected?
Apache Airflow < 3.3.0; apache-airflow (PyPI) < 3.3.0, ECOSYSTEM:introduced=0,fixed=3.3.0.
Is there a fix for CVE-2026-33264?
Yes. apache-airflow (PyPI): upgrade to 3.3.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-33264 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-33264?
Check whether you run Apache Airflow or apache-airflow (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • apache-airflow (PyPI): upgrade to 3.3.0 or later
    pip install "apache-airflow>=3.3.0"

Technical details

The vulnerability is a deserialization flaw (CWE-502) in Apache Airflow's BaseSerialization.deserialize() method. When loading serialized DAGs, the code performs unrestricted dynamic imports via import_string() on attacker-controlled class paths embedded in trigger_kwargs. A DAG author can craft a malicious serialized trigger object containing a class path pointing to arbitrary code; when the Scheduler or API Server deserializes this DAG, the attacker's code executes in the context of those privileged processes. This violates Airflow's core security boundary—DAG author code should never run in the Scheduler or API Server. The vulnerability requires no authentication or user interaction; it is triggered automatically during normal DAG loading. Patches were released in Apache Airflow 3.3.0 and backported via commits 69b6c54 and 7e9bdb2, which skip deserialization of trigger_kwargs. Defense-in-depth mitigation via the [core] allowed_deserialization_classes config can further restrict dynamic imports to a whitelist.

Affected products

  • Apache Airflow < 3.3.0

Identifiers

  • CVE-2026-33264
  • GHSA-2943-9672-r45w
  • PYSEC-2026-2082

Timeline

  • 2026-07-07: disclosed: Vulnerability published by Apache and NVD
  • 2026-05-07: patched: Fix merged in PR #66002 (commit 69b6c54)
  • 2026-06-17: patched: Cleanup merged in PR #68528 (commit 7e9bdb2)

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.