apache-airflow: Apache Airflow scheduler unsafely deserializes human-in-the-loop task next_kwargs
What fixes it
- 3.3.1apache-airflow, pipGitHub
- 3.3.1Apache AirflowCVE List
- 3.3.1apache-airflow, PyPIOSV
pip install "apache-airflow>=3.3.1"
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Apache Airflow 3.3.0 moved human-in-the-loop tasks from the triggerer to a new awaiting_input task state swept by the scheduler. That sweep deserializes the task instance's next_kwargs without an allow-list, so a Dag author โ who controls that value through the task execution API โ can cause an arbitrary module import and object instantiation inside the scheduler process, or terminate the scheduler job. No non-default configuration is required: the sweep runs unconditionally every 15 seconds, and the default allowed_deserialization_classes setting does not cover this code path. Versions before 3.3.0 are not affected, because human-in-the-loop tasks deferred onto the triggerer instead. This is a different code path from CVE-2026-58076, which covers the same unguarded exception-node deserialization reached elsewhere โ deployments that applied that fix must upgrade for this issue as well. Users are advised to upgrade to apache-airflow 3.3.1 or later.
Text from CVE List
Affected versions 6
- apache-airflow, pip>= 3.3.0, < 3.3.1GitHub
- Apache Airflowaffected: 3.3.0 before 3.3.1CVE List
- apache-airflow, PyPIfrom 3.3.0, fixed in 3.3.1OSV
- apache-airflow, PyPI3.3.0OSV
- apache-airflow, PyPI3.3.1rc1OSV
- apache-airflow, PyPI3.3.1rc2OSV
References 9
- github.com/apache/airflow/pull/70685Fixvia CVE List
- github.com/apache/airflow/commit/18b622920cf0f486155075125ecdcabc752b1ecaFixvia GitHub
- github.com/apache/airflow/commit/a1ab0653121829675ad864080d2cd9d3d1688b01Fixvia GitHub
- github.com/apache/airflow/releases/tag/3.3.1Fixvia GitHub
- lists.apache.org/thread/vygr0fh82cjzjp5k4vtfmboxryvm3lynAdvisoryvia CVE List
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3707.yamlAdvisoryvia GitHub
- github.com/advisories/GHSA-q4c3-7575-55j2Advisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-67260Referencevia GitHub
- cve.org/CVERecord?id=CVE-2026-58076Referencevia CVE List