{"id":"CVE-2025-54941","aliases":["CVE-2025-54941","GHSA-v3c9-j6h9-66v4","BIT-AIRFLOW-2025-54941","PYSEC-2026-1135"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow: Command injection in \"example_dag_decorator\"","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un DAG de ejemplo 'example_dag_decorator' tenía un parámetro no validado que permitía al usuario de la interfaz de usuario (UI) redirigir el ejemplo a un servidor malicioso y ejecutar código en el worker. Esto, sin embargo, requería que los DAGs de ejemplo estuvieran habilitados en producción (no es el valor predeterminado) o que el código del DAG de ejemplo fuera copiado para construir su propio DAG similar. Si utilizó el 'example_dag_decorator', por favor revíselo y aplique los cambios implementados en Airflow 3.0.5 en consecuencia.","source":"nvd"}],"published":"2025-10-30T09:45:26.712Z","modified":"2026-11-03T07:17:29.420Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","fixed":"3.0.5","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","package":"apache-airflow-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.5"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.0.5"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.5"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.5"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/29/6","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54941","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/apache-airflow","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-v3c9-j6h9-66v4","tags":["advisory"],"sources":["pysec"]}],"credits":["Nacl"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-31T03:55:26.812Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54941","url":"https://www.cve.org/CVERecord?id=CVE-2025-54941","licence":"CVE Terms of Use","modified":"2026-11-03T06:50:40.247Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v3c9-j6h9-66v4","url":"https://github.com/advisories/GHSA-v3c9-j6h9-66v4","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:51.615Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54941","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54941","licence":"Public domain","modified":"2026-11-03T07:17:29.420Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1135","url":"https://osv.dev/vulnerability/PYSEC-2026-1135","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:51.615Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2025-54941","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2025-54941","licence":"Apache-2.0","modified":"2026-09-08T08:45:23.004Z"}],"updatedAt":"2026-11-25T22:59:07.041Z","epss":{"score":0.00611,"percentile":0.5065,"date":"2026-12-01T12:00:22.000Z"}}