{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "159de23347d9424a3a810dda7f3ff301052bb322"
            }
          ],
          "repo": "https://github.com/astronomer/dag-factory",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g5hx-xv45-9whg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54415.json"
  },
  "details": "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.",
  "id": "CVE-2025-54415",
  "modified": "2026-04-01T23:07:51.907898093Z",
  "published": "2025-07-26T03:33:39.933Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54415.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/astronomer/dag-factory/security/advisories/GHSA-g5hx-xv45-9whg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54415"
    },
    {
      "type": "FIX",
      "url": "https://github.com/astronomer/dag-factory/commit/751c0e58369e784f6a924347e381a705ea8133fe"
    },
    {
      "type": "FIX",
      "url": "https://github.com/astronomer/dag-factory/pull/460"
    },
    {
      "type": "FIX",
      "url": "https://github.com/astronomer/dag-factory/pull/466"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration"
}