# CVE-2026-67587: Apache Airflow arbitrary module import via deserialized callback

Source: https://junglewise.ai/threats/cve-2026-67587-apache-airflow-arbitrary-module-import-via-deserialized-callback  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-12. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-67587 · Severity: high · CVSS 8.8 · Published 2026-08-12

Apache Airflow is a workflow orchestration platform used to schedule and monitor data pipelines. A vulnerability in its Task SDK allows a DAG author to cause arbitrary Python modules to be imported within the scheduler process by crafting malicious serialized callback objects. An attacker exploiting this could execute arbitrary code on the scheduler, potentially compromising the entire orchestration infrastructure and any downstream systems it controls.

Technologies: [Apache Airflow](https://junglewise.ai/threats/technologies/airflow), [apache-airflow (PyPI)](https://junglewise.ai/threats/technologies/apache-airflow). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-67587 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-67587 being exploited in the wild.

**How severe is CVE-2026-67587?** High severity, with a CVSS score of 8.8, published 12 August 2026.

**Which products and versions are affected?** Apache Airflow 3.0.0 through 3.3.0; apache-airflow (PyPI) >= 3.3.0, < 3.3.1, ECOSYSTEM:introduced=3.3.0,fixed=3.3.1.

**Is there a fix for CVE-2026-67587?** Yes. apache-airflow (PyPI): upgrade to 3.3.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-67587 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-67587?** 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.1 or later

  ```sh
  pip install "apache-airflow>=3.3.1"
  ```


## Technical details

The vulnerability is a deserialization attack in Apache Airflow's Task SDK. When deserializing a `Callback` object from stored `next_kwargs`, the SDK reconstructs the callback by re-running its constructor, which imports the module specified in the stored callback path. The `SyncCallback` class passes the default `allowed_deserialization_classes` allow-list, so standard mitigation measures do not prevent this attack. A DAG author (who controls a task instance's `next_kwargs` through the task execution API) can inject a malicious callback path that triggers arbitrary module imports during the scheduler's `awaiting_input` timeout sweep. The sweep runs unconditionally and requires no non-default configuration. This is a distinct gadget from CVE-2026-58076 and CVE-2026-67260, affecting only Airflow 3.0.0 through 3.3.0.

## Affected products

- Apache Airflow 3.0.0 through 3.3.0

## Identifiers

- CVE-2026-67587
- BIT-AIRFLOW-2026-67587
- GHSA-2qjv-p2gc-mjg2
- PYSEC-2026-3708

## Timeline

- 2026-08-12: disclosed
- 2026-08-04: patched: Fix merged in PR #70704; upgrade to 3.3.1 or later

## References

- [https://pypi.python.org/](https://pypi.python.org/)
- [https://github.com/apache/airflow/pull/70704](https://github.com/apache/airflow/pull/70704)

## Related threats

- [Apache Airflow incomplete deserialization check bypass in scheduler](https://junglewise.ai/threats/cve-2026-96285-apache-airflow-3-3-1-shipped-a-fix-for-that-checks-the-scheduler)
- [Apache Airflow scheduler XCom deserialization privilege escalation](https://junglewise.ai/threats/cve-2026-86829-apache-airflow-s-scheduler-fully-deserializes-xcom-values-written)
- [Apache Airflow CLI audit log secrets exposure](https://junglewise.ai/threats/cve-2026-86468-apache-airflow-s-cli-records-its-arguments-in-the-audit-log-but)
- [Apache Airflow unsafe deserialization in deadline alert fields](https://junglewise.ai/threats/cve-2026-82337-apache-airflow-rebuilt-deadline-alert-fields-through-generic)
- [Apache Airflow Task SDK secret cache key collision in multi-team deployments](https://junglewise.ai/threats/cve-2026-76185-apache-airflow-s-task-sdk-secret-cache-built-its-keys-from-the)
