id: PYSEC-2026-1135 published: "2026-07-07T16:03:09.057395Z" modified: "2026-07-07T17:23:43.081191Z" aliases: - CVE-2025-54941 - GHSA-v3c9-j6h9-66v4 summary: Apache Airflow has a command injection vulnerability in "example_dag_decorator" details: An example dag `example_dag_decorator` had non-validated parameter that allowed the UI user to redirect the example to a malicious server and execute code on worker. This however required that the example dags are enabled in production (not default) or the example dag code copied to build your own similar dag. If you used the `example_dag_decorator` please review it and apply the changes implemented in Airflow 3.0.5 accordingly. affected: - package: name: apache-airflow ecosystem: PyPI purl: pkg:pypi/apache-airflow ranges: - type: ECOSYSTEM events: - introduced: 3.0.0 - fixed: 3.0.5 versions: - 3.0.0 - 3.0.1 - 3.0.1rc1 - 3.0.2 - 3.0.2rc1 - 3.0.2rc2 - 3.0.3 - 3.0.3rc1 - 3.0.3rc2 - 3.0.3rc3 - 3.0.3rc4 - 3.0.3rc5 - 3.0.3rc6 - 3.0.4 - 3.0.4rc1 - 3.0.4rc2 - 3.0.5rc1 - 3.0.5rc2 - 3.0.5rc3 references: - type: ADVISORY url: https://nvd.nist.gov/vuln/detail/CVE-2025-54941 - type: PACKAGE url: https://github.com/apache/airflow - type: WEB url: https://lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1 - type: WEB url: http://www.openwall.com/lists/oss-security/2025/10/29/6 - type: PACKAGE url: https://pypi.org/project/apache-airflow - type: ADVISORY url: https://github.com/advisories/GHSA-v3c9-j6h9-66v4 severity: - type: CVSS_V4 score: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U