CVE-2026-33264 PUBLISHED

Apache Airflow: DAG author RCE on webserver via unrestricted import_string() in BaseSerialization.deserialize()

Assigner: apache
Reserved: 18.03.2026 Published: 07.07.2026 Updated: 07.07.2026

A bug in BaseSerialization.deserialize() allowed unrestricted import_string() of attacker-controlled class paths when the Scheduler / API Server loaded a serialized DAG: a DAG author could embed a malicious trigger into a DAG to gain remote code execution on the API Server / Scheduler process, crossing the Airflow security boundary that DAG-author code must never execute in those processes. Users are advised to upgrade to apache-airflow 3.3.0 or later. As a defense-in-depth mitigation, deployments where DAG-author trust is limited can restrict the [core] allowed_deserialization_classes config to a narrow allowlist.

Product Status

Vendor Apache Software Foundation
Product Apache Airflow
Versions Default: unaffected
  • affected from 0 to 3.3.0 (excl.)

Credits

  • Ziyu Lin finder
  • bugbunny.ai tool
  • intadd (GitHub handle: @intadd) finder
  • K finder
  • Amogh Desai (@amoghrajesh) remediation developer
  • Jarek Potiuk remediation developer

References

Problem Types

  • CWE-502: Deserialization of Untrusted Data CWE