{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54415 exists.","fix":"No fix has been published for CVE-2025-54415 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-54415 is a critical command injection vulnerability in astronomer dag-factory, published on 26 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54415 and fix it if it is affected.\n\nWhat it is: CVE-2025-54415 is a critical command injection vulnerability in astronomer dag-factory, published on 26 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54415 exists.\n\nAffected product: astronomer dag-factory. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-54415/ (Markdown: https://insights.sbomify.com/CVE-2025-54415/index.md)","id":"CVE-2025-54415","markdown":"https://insights.sbomify.com/CVE-2025-54415/index.md","name":"CVE-2025-54415","record":{"aliases":["GHSA-g5hx-xv45-9whg"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Airflow library","requires_auth":"none","summary":"Attackers can execute arbitrary code in CI/CD runners to steal secrets and take over the repository via a misconfigured pull_request_target workflow.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-09-04","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-04T06:41:28Z","kind":"github_poc","ref":"https://github.com/pvharmo2/gha-lab-f894926966","stars":0,"title":"Authorized security-research reproduction lab for CVE-2025-54415 (GHSA-g5hx-xv45-9whg): astronomer/dag-factory snapshot at 464c75a — pull_request_target head-SHA checkout executes attacker-controlled hatch scripts in base-repo context"}],"tier":"weaponised"},"has_fix":false,"headline":"dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration","id":"CVE-2025-54415","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"tj-actions/branch-names Contains Command Injection Vulnerability","id":"CVE-2025-54416"},"packages":[],"prev":{"headline":"Anubis accepts crafted redirect URLs in pass-challenge 'Try Again' buttons","id":"CVE-2025-54414"},"products":["dag-factory"],"published":"2025-07-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-07-28","vendors":["astronomer"]},"summary":"Attackers can execute arbitrary code in CI/CD runners to steal secrets and take over the repository via a misconfigured pull_request_target workflow.","url":"https://insights.sbomify.com/CVE-2025-54415/"}