# CVE-2025-54415: dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration

- Severity: Critical 9.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2025-07-26T03:33:39.933Z
- Modified: 2026-06-17T09:40:03.683Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- astronomer dag-factory: < 0.23.0a9

## References

- <https://github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg>
- <https://github.com/astronomer/dag-factory/pull/460>
- <https://github.com/astronomer/dag-factory/pull/466>
- <https://github.com/astronomer/dag-factory/commit/751c0e58369e784f6a924347e381a705ea8133fe>

## Sources

- CVE List: [CVE-2025-54415](https://www.cve.org/CVERecord?id=CVE-2025-54415), CVE Terms of Use, modified 2025-07-28
- NVD: [CVE-2025-54415](https://nvd.nist.gov/vuln/detail/CVE-2025-54415), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54415 · Whole record: https://cve.day/CVE-2025-54415.json · Rebuilt by cve.day 2026-11-25T22:59:01.756Z
