CVE-2025-54415
dag-factory is a library for Apache Airflow® to construct DAGs …
dag-factory is a library for Apache Airflow® to construct DAGs declaratively via configuration files. In versions 0.23.0a8 and below, a high-severity vulnerability has been identified in the cicd.yml workflow within the astronomer/dag-factory GitHub repository. The workflow, specifically when triggered by pull_request_target, is susceptible to exploitation, allowing an attacker to execute arbitrary code within the GitHub Actions runner environment. This misconfiguration enables an attacker to establish a reverse shell, exfiltrate sensitive secrets, including the highly-privileged GITHUB_TOKEN, and ultimately gain full control over the repository. This is fixed in version 0.23.0a9.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/astronomer/dag-factory/commit/751c0e58369e784f6a924347e381a705ea8133fe
- github.com/astronomer/dag-factory/pull/460
- github.com/astronomer/dag-factory/pull/466
- github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg
- nvd.nist.gov/vuln/detail/CVE-2025-54415
- cve.org/CVERecord?id=CVE-2025-54415
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.