CVE-2025-54415 Details
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.
A high-severity vulnerability exists in the Astronomer Dag-Factory GitHub repository, specifically within the 'cicd.yml' workflow. This vulnerability affects versions through 0.23.0a8 and arises when the workflow is triggered by 'pull_request_target'. Exploitation allows for arbitrary code execution in the GitHub Actions runner, potentially leading to a reverse shell, exfiltration of sensitive secrets like the GITHUB_TOKEN, and full control over the repository.
Users can update to Dag-Factory version 0.23.0a9 or later, and should also consider restricting GITHUB_TOKEN permissions to read-only.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 26, 2025CISA-ADP
Assessed Jul 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/astronomer/dag-factory/commit/751c0e58369e784f6a924347e381a705ea8133fe | [email protected] | Source CodeVendor |
| https://github.com/astronomer/dag-factory/pull/460 | [email protected] | Issue TrackingVendor |
| https://github.com/astronomer/dag-factory/pull/466 | [email protected] | Issue TrackingVendor |
| https://github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| astronomer/dag-factory | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 26, 2025 | New CVE Received | [email protected] |
Volerion