{"id":"CVE-2025-54415","aliases":["EUVD-2025-22775","GHSA-g5hx-xv45-9whg"],"status":"published","title":"dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration","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.","severity":{"version":"4.0","score":9.1,"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0076,"percentile":0.55791,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2025-07-26T03:33:39Z","modified":"2026-10-28T02:30:39Z","exploits":[{"source":"pocgithub","id":"pvharmo2/gha-lab-f894926966","title":"pvharmo2/gha-lab-f894926966","date":"2026-09-04","url":"https://github.com/pvharmo2/gha-lab-f894926966"}],"products":[{"vendor":"astronomer","product":"dag-factory"}],"references":[{"url":"https://github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/astronomer/dag-factory/pull/460","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/astronomer/dag-factory/pull/466","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/astronomer/dag-factory/commit/751c0e58369e784f6a924347e381a705ea8133fe","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54415.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54415","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-54415","title":"dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration","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.","status":"published","published":"2025-07-26T03:33:39.933Z","modified":"2025-07-28T14:44:53.312Z","cvss":[{"version":"4.0","score":9.1,"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","level":"critical","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:32:27.28543Z"}],"euvd":[{"id":"EUVD-2025-22775","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.","status":"published","published":"2025-07-26T03:33:39Z","modified":"2025-07-28T14:44:53Z","cvss":[{"version":"4.0","score":9.1,"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","level":"critical"}],"updated_at":"2026-11-02T20:32:03.907132Z"}],"nvd":[{"id":"CVE-2025-54415","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.","status":"published","published":"2025-07-26T04:16:08.24Z","modified":"2026-06-17T09:40:03.683Z","cvss":[{"version":"4.0","score":9.1,"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/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","level":"critical","assessor":"secondary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:11:21.132141Z"}],"osv":[{"id":"CVE-2025-54415","title":"dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration","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.","status":"published","published":"2025-07-26T03:33:39.933Z","modified":"2026-10-28T02:30:39.838099659Z","cvss":[{"version":"4.0","score":9.1,"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","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:44:50.863921Z"}]}}
