{"id":"CVE-2025-54415","published":"2025-07-26T03:33:39Z","modified":"2025-07-28T14:44:53Z","title":"dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration","vendor":"astronomer","product":"dag-factory","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01044,"percentile":0.63393,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/astronomer/dag-factory/pull/460","tags":["x_refsource_MISC"]},{"url":"https://github.com/astronomer/dag-factory/pull/466","tags":["x_refsource_MISC"]},{"url":"https://github.com/astronomer/dag-factory/commit/751c0e58369e784f6a924347e381a705ea8133fe","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":12.68},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-04","earliestUrl":"https://github.com/pvharmo2/gha-lab-f894926966","repos":[{"name":"pvharmo2/gha-lab-f894926966","url":"https://github.com/pvharmo2/gha-lab-f894926966","stars":0,"created":"2026-09-04"}]},"first":{"date":"2026-09-04","source":"PoC-in-GitHub","url":"https://github.com/pvharmo2/gha-lab-f894926966"},"provenance":"source"},"vendorSlug":"astronomer","affectedVersions":[{"vendor":"astronomer","product":"dag-factory","versions":["< 0.23.0a9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-28T14:44:32.467322Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-22775","exploited":false,"provenance":"source"}}