CVE-2025-54415CWE-78

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

Critical · published July 26, 2025

CVSS v4.0
9.1
EPSS
1%
Percentile
52.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.1 · CRITICAL
Vector
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
EPSS
0.00708 · 52.9th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-07-26T03:33Z
EPSS history
Timeline
  • 26 JUL 03:33Z
    dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration
    cvelistv5