Apache Airflowのサンプルの脆弱性で遠隔からコマンドを実行されるおそれ
Summary
Apache Airflowに同梱されたexample_dag_decoratorの不備により、攻撃者がワーカー上でシェルコマンドを実行できるおそれがあります。影響するのは3.0.5以上3.4.0未満で、修正版は3.4.0です。CVE-2025-54941の修正が不完全だったため、同じ修正を受けた環境も3.4.0以上へ更新してください。本番環境ではload_examplesをFalseにすることも推奨されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Apache Airflowに同梱されたexample_dag_decoratorの不備により、攻撃者がワーカー上でシェルコマンドを実行できるおそれがあります。影響するのは3.0.5以上3.4.0未満で、修正版は3.4.0です。CVE-2025-54941の修正が不完全だったため、同じ修正を受けた環境も3.4.0以上へ更新してください。本番環境ではload_examplesをFalseにすることも推奨されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache Airflow |
≥ 3.0.5, < 3.4.0→ 3.4.0 |
3.4.0 |
Original description The description as published by the source.
The example_dag_decorator example Dag shipped with Apache Airflow validated an IP address fetched over HTTP with Python's ipaddress module and then placed it into a shell command. ipaddress accepts IPv6 zone identifiers containing arbitrary characters, so when example Dags are loaded (load_examples enabled), a user who can trigger that Dag with a custom url parameter could point it at a server whose response injects shell commands run on the worker. This is an incomplete fix for CVE-2025-54941; users who upgraded for CVE-2025-54941 should upgrade again. Users are advised to upgrade to apache-airflow 3.4.0 or later, or to disable example Dags (load_examples = False), which is recommended for production.
Source: oss-security (Openwall) NVD GitHub Advisory
References
- advisory lists.apache.org
- advisory nvd.nist.gov
- advisory github.com
- OSS-SECURITY CVE-2026-101031: Apache Airflow: Shell command injection in the example_dag_decorator example Dag via an IPv6 zone identifier
- patch github.com
- web cve.org
- web github.com
- web pypi.python.org