Summary
Apache Airflow deserializes deadline alert fields in serialized DAGs in the scheduler and API server, allowing a DAG author to cause classes on Airflow's deserialization allow list to be instantiated with controlled arguments. Deployments using DAGs with deadline alerts may be at risk; this issue also affects deployments that applied the earlier fix for CVE-2026-45360.
Affected context
The issue affects Apache Airflow deployments where DAGs use deadline alerts. During deserialization, the scheduler and API server rebuild deadline alert fields, including callback and interval, using generic deserialization behavior that can import and instantiate allow-listed classes. The earlier hardening of the reference field does not address these fields.
Exploit preconditions
- Attack surface: DAG deserialization in the scheduler and API server
- Required access: Ability to author or modify a DAG that is processed by the deployment
- Trigger point: Deserialization of deadline alert fields in a DAG
- Why exploitation is possible: The
callbackandintervalfields can provide attacker-controlled arguments to classes in the deserialization allow list
Why this happens
The underlying issue is generic deserialization of serialized DAG fields that can select and instantiate classes. Although class construction is limited to Airflow's deserialization allow list, accepting attacker-influenced class names and arguments can still trigger unintended behavior in the consuming process. This is an instance of CWE-502: Deserialization of Untrusted Data.
Potential impact
- Allow-listed classes may be instantiated with unexpected arguments
- Scheduler or API server behavior could be altered, depending on the classes involved
- Airflow process availability or integrity may be affected
- The impact could extend to data accessible to the affected process
General mitigation guidance
Defensive patterns focus on reducing trust in serialized DAG content and limiting what deserialization can construct:
- Prefer explicit, schema-based parsing that maps fields only to expected data types
- Avoid generic class import or instantiation based on serialized input
- Validate and constrain
callbackandintervalvalues before using them - Keep DAG authoring and publishing permissions limited to trusted roles
- Run scheduler and API server processes with least-privilege access
How teams detect issues like this
- Review deserialization code for dynamic class selection, imports, or constructors driven by serialized fields
- Use static analysis to identify generic deserialization APIs and flows from DAG content into class construction
- Add code review checks for changes to deadline alert parsing and deserialization allow lists
- Enforce policies that restrict DAG authorship and deployment to trusted identities
- Test that unexpected field types and values are rejected before class construction

