CVE-2026-58076: Apache airflow Apache Airflow Exception-node Deserialization Permits Vulnerability
HIGHCVE-2026-58076 is a HIGH (CVSS 8.8) apache airflow exception-node deserialization permits vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Apache airflow libraries in the PyPI ecosystem. The issue involves apache airflow exception-node deserialization permits arbitrary callable execution. Remediation is available by upgrading affected packages to version 3.3.1.
CVE-2026-58076 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-58076
To remediate this vulnerability, upgrade all affected Apache airflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-airflow>=3.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-58076, inspect your installed packages using pip:
pip show apache-airflow
Analyze the terminal output to locate any version of Apache airflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.1), your application is affected.
Note: The pip show apache-airflow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Apache airflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-58076 Affected Apache airflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow
|
PyPI |
≥ 3.3.0
< 3.3.1
|
3.3.1
|
References
Frequently Asked Questions
What is CVE-2026-58076?
Which Apache airflow versions are affected?
What version fixes CVE-2026-58076?
Is apache-airflow affected?
What is the CVSS score of CVE-2026-58076?
What CWE is associated with CVE-2026-58076?
How can I check PyPI dependencies for CVE-2026-58076?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8prw-8m6x-8w6f",
"modified" : "2026-10-02T23:12:35Z",
"published" : "2026-08-12T18:31:17Z",
"aliases" : [ "CVE-2026-58076" ],
"summary" : "Apache Airflow exception-node deserialization permits arbitrary callable execution",
"details" : "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`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-58076"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/68511"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/3a08a3d7792335ac9456cd44c92d8de3ae0d6ec1"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/560f117525d201ed64327c4185050705339e07b1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/releases/tag/3.3.1"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3991.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/t81p688t15jozxsng8521o60nh2kfsos"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord?id=CVE-2026-33264"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-02T23:12:35Z",
"nvd_published_at" : "2026-08-12T16:17:08Z"
}
}