CVE-2025-54941
MEDIUM 4.6CVSS 3.1Apache Airflow has a command injection vulnerability in "example_dag_decorator"
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.
- Published
- 30 Oct 2025
- Last modified
- 3 Nov 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- BIT-airflow-2025-54941GHSA-v3c9-j6h9-66v4PYSEC-2026-1135
- Sources
- NVDJSONOSV GHSA-v3c9-j6h9-66v4JSONOSV PYSEC-2026-1135JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | airflowcpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.5 | 3.0.5 |
| OSV | PyPI | apache-airflow | >= 3.0.0, < 3.0.5 | 3.0.5 |
References
- https://lists.apache.org/thread/c6q6nofc6xl5bms039ks9b34v0v36df1 · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/10/29/6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54941 · ADVISORY
- https://github.com/apache/airflow · PACKAGE
- https://pypi.org/project/apache-airflow · PACKAGE
- https://github.com/advisories/GHSA-v3c9-j6h9-66v4 · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Oct 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Oct 2025)