{"id":"CVE-2025-54415","aliases":["CVE-2025-54415"],"related":[],"kind":"vulnerability","state":"published","title":"dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"dag-factory es una librería para Apache Airflow® que permite construir DAGs declarativamente mediante archivos de configuración. En las versiones 0.23.0a8 y anteriores, se identificó una vulnerabilidad de alta gravedad en el flujo de trabajo cicd.yml del repositorio de GitHub astronomer/dag-factory. Este flujo de trabajo, especialmente cuando se activa mediante pull_request_target, es susceptible de explotación, lo que permite a un atacante ejecutar código arbitrario en el entorno de ejecución de GitHub Actions. Esta configuración incorrecta permite a un atacante establecer un shell inverso, extraer información confidencial, incluido el token GITHUB_TOKEN con privilegios elevados, y finalmente obtener el control total del repositorio. Esto se ha corregido en la versión 0.23.0a9.","source":"nvd"}],"published":"2025-07-26T03:33:39.933Z","modified":"2026-06-17T09:40:03.683Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 0.23.0a9","status":"affected"}],"vendor":"astronomer","product":"dag-factory","source":"cvelist"}],"references":[{"url":"https://github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/astronomer/dag-factory/pull/460","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/astronomer/dag-factory/pull/466","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/astronomer/dag-factory/commit/751c0e58369e784f6a924347e381a705ea8133fe","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-07-28T14:44:32.467Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54415","url":"https://www.cve.org/CVERecord?id=CVE-2025-54415","licence":"CVE Terms of Use","modified":"2025-07-28T14:44:53.312Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54415","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54415","licence":"Public domain","modified":"2026-06-17T09:40:03.683Z"}],"updatedAt":"2026-11-25T22:59:01.756Z","epss":{"score":0.0076,"percentile":0.56516,"date":"2026-12-01T12:00:22.000Z"}}