CVE-2026-45360: CWE-502: Deserialization of Untrusted Data in Apache Software Foundation Apache Airflow
Apache Airflow's scheduler-side deadline-reference decoder (`SerializedCustomReference.deserialize_reference`) imported and dispatched arbitrary class paths drawn from DAG-author-controlled serialized state without an allowlist or plugin-registry gate. A DAG author whose code reaches the scheduler — the default on single-host deployments where the DAG bundle is importable from the scheduler process — could embed a custom `DeadlineReference` whose serialized form named an attacker-controlled module path, causing the scheduler to `import_string(...)` and instantiate that class with a live SQLAlchemy session attached. Affects deployments where DAG-author code is less trusted than the scheduler process. Users are advised to upgrade to `apache-airflow` 3.2.2 or later.
AI Analysis
Technical Summary
Apache Airflow's scheduler-side deadline-reference decoder (`SerializedCustomReference.deserialize_reference`) unsafely imports and dispatches arbitrary class paths from DAG-author-controlled serialized state without an allowlist or plugin registry. This permits a DAG author to embed a custom `DeadlineReference` with a serialized form naming an attacker-controlled module path, causing the scheduler to import and instantiate that class with a live SQLAlchemy session. This deserialization of untrusted data (CWE-502) leads to potential arbitrary code execution within the scheduler process. The vulnerability is relevant in environments where DAG-author code is less trusted than the scheduler, notably default single-host deployments. The vendor recommends upgrading to Apache Airflow 3.2.2 or later.
Potential Impact
An attacker with the ability to supply DAG code to the scheduler can execute arbitrary code within the scheduler process by exploiting unsafe deserialization. This can lead to unauthorized actions within the Airflow environment, potentially compromising the scheduler and associated resources. The impact is limited to deployments where DAG-author code is less trusted than the scheduler process. There are no known exploits in the wild at this time.
Mitigation Recommendations
Users should upgrade to Apache Airflow version 3.2.2 or later, where this vulnerability is addressed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the advisory, but the vendor's upgrade recommendation indicates a fix is available in 3.2.2+. Until upgraded, restrict DAG author permissions to trusted users only to reduce risk.
CVE-2026-45360: CWE-502: Deserialization of Untrusted Data in Apache Software Foundation Apache Airflow
Description
Apache Airflow's scheduler-side deadline-reference decoder (`SerializedCustomReference.deserialize_reference`) imported and dispatched arbitrary class paths drawn from DAG-author-controlled serialized state without an allowlist or plugin-registry gate. A DAG author whose code reaches the scheduler — the default on single-host deployments where the DAG bundle is importable from the scheduler process — could embed a custom `DeadlineReference` whose serialized form named an attacker-controlled module path, causing the scheduler to `import_string(...)` and instantiate that class with a live SQLAlchemy session attached. Affects deployments where DAG-author code is less trusted than the scheduler process. Users are advised to upgrade to `apache-airflow` 3.2.2 or later.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache Airflow's scheduler-side deadline-reference decoder (`SerializedCustomReference.deserialize_reference`) unsafely imports and dispatches arbitrary class paths from DAG-author-controlled serialized state without an allowlist or plugin registry. This permits a DAG author to embed a custom `DeadlineReference` with a serialized form naming an attacker-controlled module path, causing the scheduler to import and instantiate that class with a live SQLAlchemy session. This deserialization of untrusted data (CWE-502) leads to potential arbitrary code execution within the scheduler process. The vulnerability is relevant in environments where DAG-author code is less trusted than the scheduler, notably default single-host deployments. The vendor recommends upgrading to Apache Airflow 3.2.2 or later.
Potential Impact
An attacker with the ability to supply DAG code to the scheduler can execute arbitrary code within the scheduler process by exploiting unsafe deserialization. This can lead to unauthorized actions within the Airflow environment, potentially compromising the scheduler and associated resources. The impact is limited to deployments where DAG-author code is less trusted than the scheduler process. There are no known exploits in the wild at this time.
Mitigation Recommendations
Users should upgrade to Apache Airflow version 3.2.2 or later, where this vulnerability is addressed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the advisory, but the vendor's upgrade recommendation indicates a fix is available in 3.2.2+. Until upgraded, restrict DAG author permissions to trusted users only to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-05-11T22:40:03.868Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d4e75e29bf47b50cd4a05
Added to database: 6/1/2026, 9:18:45 AM
Last enriched: 6/1/2026, 9:35:42 AM
Last updated: 6/2/2026, 5:03:33 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.