Skip to main content
← All vulnerabilities
CVE-2025-54415

dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.0a9
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • astronomer dag-factory

    fixed in 0.23.0a9

References 5

GitHub · astronomer/dag-factory

GitHub · pvharmo2/gha-lab-f894926966