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.
References (4)
Core 4
Core References
Vendor Advisory x_refsource_confirm
https://github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg
Issue Tracking x_refsource_misc
https://github.com/astronomer/dag-factory/pull/460
Issue Tracking x_refsource_misc
https://github.com/astronomer/dag-factory/pull/466
Scores
CVSS v4
9.1
EPSS
0.0060
EPSS Percentile
44.2%
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
total
Details
CWE
CWE-78
Status
published
Products (1)
astronomer/dag-factory
< 0.23.0a9
Published
Jul 26, 2025
Tracked Since
Feb 18, 2026