Deserialization of untrusted data in Apache Airflow
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
Apache Airflow's serialization layer reconstructed exception nodes by calling `import_string()` on a class name taken from the serialized blob and instantiating it with arguments from the same blob, with no restriction on what could be imported. An operator's `executor_config` reaches that branch, so a Dag author could place a value there that causes an arbitrary callable to be imported and invoked -- for example `subprocess.check_output`, or `builtins.eval` on the `builtins`-prefixed variant. The code runs in the **Scheduler**, which reconstructs serialized Dags in its normal loop with no request involved, and in the **API server**, on any authenticated read of the Dag such as `GET /api/v2/dags/{dag_id}/details`. Both are components the Airflow security model states must never execute Dag-author code, and both hold the metadata database credentials and the JWT signing secret. No non-default configuration is required. This is a **different sink from CVE-2026-33264**, which covered only the trigger branch of the same deserializer: deployments that upgraded in response to that advisory are still affected through the exception branch and must upgrade again. Users are advised to upgrade to apache-airflow 3.3.1 or later, which restricts the imported class to a subclass of `BaseException`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Airflow | 3.0.0 to before 3.3.1 | 3.3.1 | Patch available | CNA |
| — | apache-airflow (PyPI) | 3.3.0 to before 3.3.1 | 3.3.1 | Patch available | GHSA-8prw-8m6x-8w6f |
- Apache Airflow VendorApache Affected 3.0.0 to before 3.3.1 Fixed in 3.3.1 Patch available CNA
- apache-airflow (PyPI) Vendor— Affected 3.3.0 to before 3.3.1 Fixed in 3.3.1 Patch available GHSA-8prw-8m6x-8w6f
Remediation
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 3.3.1
- Fix · GHSA-8prw-8m6x-8w6f apache-airflow (PyPI) Fixed in 3.3.1 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Airflow 3.3.1
12 records Highest priority Priority MEDIUM 2 MEDIUM, 10 LOW
Other records, highest priority first
- TI-2026-47748 Apache Airflow: DAG-author remote code execution on the Scheduler via a Serde `Callback` deserialization gadgetPriority MEDIUM 41
- TI-2026-47565 Apache Airflow: DAG-author remote code execution on the Scheduler via awaiting_input next_kwargs deserializationPriority LOW 39
- TI-2026-48479 Apache Airflow: Authorization bypass in the Backfill API through conflicting interpretations of the backfill idPriority LOW 33
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58076
- 2026-10-03 Alias added: GHSA-8prw-8m6x-8w6f
- 2026-10-07 EPSS moved to the below the 50th percentile
- 2026-11-03 Fix available: [email protected] · CNA
References
Advisory 2
Other 6
- https://www.cve.org/CVERecord?id=CVE-2026-33264
- https://github.com/apache/airflow/commit/3a08a3d7792335ac9456cd44c92d8de3ae0d6ec1
- https://github.com/apache/airflow/commit/560f117525d201ed64327c4185050705339e07b1
- https://github.com/apache/airflow
- https://github.com/apache/airflow/releases/tag/3.3.1
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3991.yaml
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
- TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
- TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
- TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
- TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
Sources
- CVE-2026-58076 · CVE Program
- CVE-2026-58076 · NVD
- FIRST EPSS
- GHSA-8prw-8m6x-8w6f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences