CVE-2026-58076: Apache Airflow: Unguarded import_string() of airflow_exc_ser / base_exc_ser exception nodes in BaseSerialization.deserialize enables DAG-author RCE on Scheduler / API Server

Published Aug 12, 2026
·
Updated

Apache Airflow's serialization layer reconstructed exception nodes by calling importstring() 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 executorconfig 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.checkoutput, 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/{dagid}/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.

Affected Software

1 affected component
apache-airflow

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade apache-airflow to a version that resolves this vulnerability.

    Fixed in 3.3.1
  2. Compensating control

    Assume scheduler/API-server may be running with DAG-author code execution risk on authenticated DAG detail reads; restrict access to the API endpoint `GET /api/v2/dags/{dag_id}/details` to the minimum set of trusted users/clients until the upgrade to apache-airflow 3.3.1+ is completed.

Event History

Aug 12, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-58076?

CVE-2026-58076 has a severity score of 93, indicating a high risk of potential exploitation.

2

How do I fix CVE-2026-58076?

To mitigate CVE-2026-58076, ensure you are using a patched version of Apache Airflow that addresses the unguarded import_string() vulnerability.

3

What impact does CVE-2026-58076 have on my Apache Airflow deployment?

CVE-2026-58076 allows attackers to execute remote code through the deserialization of untrusted input, compromising your database or server.

4

Who is affected by CVE-2026-58076?

CVE-2026-58076 affects all users of Apache Airflow that utilize its serialization layer without proper security measures.

5

How can I identify if my system is vulnerable to CVE-2026-58076?

You can identify vulnerability to CVE-2026-58076 by reviewing your Apache Airflow version and checking if it includes the security fix for this issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203