{"id":"CVE-2026-58076","aliases":["CVE-2026-58076","GHSA-8prw-8m6x-8w6f","BIT-AIRFLOW-2026-58076","PYSEC-2026-3991"],"related":[],"kind":"vulnerability","state":"published","title":"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","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`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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`.","source":"cvelist"},{"lang":"es","text":"La capa de serialización de Apache Airflow reconstruyó nodos de excepción llamando a “import_string()” en un nombre de clase tomado del blob serializado e instanciándolo con argumentos del mismo blob, sin restricción sobre lo que podía importarse. El “executor_config” de un operador alcanza esa rama, por lo que un autor de Dag podría colocar un valor allí que cause que un invocable arbitrario sea importado e invocado -- por ejemplo, “subprocess.check_output”, o “builtins.eval” en la variante con prefijo “builtins”. El código se ejecuta en el Scheduler, que reconstruye Dags serializados en su bucle normal sin ninguna solicitud involucrada, y en el servidor API, en cualquier lectura autenticada del Dag, como “GET /api/v2/dags/{dag_id}/details”. Ambos son componentes que el modelo de seguridad de Airflow establece que nunca deben ejecutar código de autor de Dag, y ambos poseen las credenciales de la base de datos de metadatos y el secreto de firma JWT. No se requiere ninguna configuración no predeterminada. Este es un sumidero diferente de CVE-2026-33264, que cubría solo la rama de activación del mismo deserializador: las implementaciones que se actualizaron en respuesta a ese aviso siguen afectadas a través de la rama de excepción y deben actualizarse de nuevo. Se aconseja a los usuarios actualizar a apache-airflow 3.3.1 o posterior, que restringe la clase importada a una subclase de “BaseException”.","source":"nvd"}],"published":"2026-08-12T15:40:59.934Z","modified":"2026-11-03T07:20:55.730Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","fixed":"3.3.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","package":"apache-airflow-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.3.0","status":"affected","fixed":"3.3.1"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.3.0","fixed":"3.3.1"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"3.3.0","status":"affected","fixed":"3.3.1"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"3.3.0","status":"affected","fixed":"3.3.1"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://github.com/apache/airflow/pull/68511","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.apache.org/thread/t81p688t15jozxsng8521o60nh2kfsos","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33264","tags":["not-applicable","related","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58076","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/airflow/commit/3a08a3d7792335ac9456cd44c92d8de3ae0d6ec1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow/commit/560f117525d201ed64327c4185050705339e07b1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow/releases/tag/3.3.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3991.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8prw-8m6x-8w6f","tags":["advisory"],"sources":["pysec"]}],"credits":["Jan Kahmen (turingpoint), GitHub: @kah-ja","Jarek Potiuk"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-18T13:43:21.351Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58076","url":"https://www.cve.org/CVERecord?id=CVE-2026-58076","licence":"CVE Terms of Use","modified":"2026-11-03T06:58:44.859Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8prw-8m6x-8w6f","url":"https://github.com/advisories/GHSA-8prw-8m6x-8w6f","licence":"CC-BY-4.0","modified":"2026-10-02T23:40:41.994Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58076","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58076","licence":"Public domain","modified":"2026-11-03T07:20:55.730Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3991","url":"https://osv.dev/vulnerability/PYSEC-2026-3991","licence":"CC-BY-4.0","modified":"2026-10-15T14:45:08.193Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2026-58076","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2026-58076","licence":"Apache-2.0","modified":"2026-10-02T23:40:41.994Z"}],"updatedAt":"2026-11-25T22:59:32.578Z","epss":{"score":0.00484,"percentile":0.43343,"date":"2026-12-01T12:00:22.000Z"}}