What’s Vulnerable › Vulnerabilities
CVE-2025-54415: dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration
- Severity: critical (CVSS 9.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-26 · updated 2026-06-17
- Weakness: CWE-78
Description
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.
Affected products
- astronomer dag-factory: before 0.23.0a9
References
- https://github.com/astronomer/dag-factory/commit/751c0e58369e784f6a924347e381a705ea8133fe
- https://github.com/astronomer/dag-factory/pull/460
- https://github.com/astronomer/dag-factory/pull/466
- https://github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg
Get alerted when CVE-2025-54415 or the next vulnerability affects your stack