{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.23.0"
                  },
                  {
                    "fixed": "2.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "c0e7cf7e1cfc3a52af8a9fb2da1ca911a9958649"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "f4ef28c890a31c5b6f9d4139592b09047b14360d"
            },
            {
              "fixed": "b5df396d90297479b625eb7c7a7494089ba931eb"
            },
            {
              "fixed": "c0e7cf7e1cfc3a52af8a9fb2da1ca911a9958649"
            }
          ],
          "repo": "https://github.com/dagucloud/dagu",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6qr9-g2xw-cw92"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-306"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126752.json"
  },
  "details": "Dagu 1.23.0 before 2.0.0 defaults auth.mode to none, allowing unauthenticated attackers to execute OS commands through the /api/v2/dag-runs endpoint. Attackers can send a POST request with an inline spec defining steps containing arbitrary shell commands to achieve remote code execution. Exploitation evidence was first observed by the Shadowserver Foundation on 2026-03-11.",
  "id": "CVE-2026-126752",
  "modified": "2026-11-18T17:45:35.972878401Z",
  "published": "2026-11-18T15:34:56.020Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126752.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dagucloud/dagu/commit/c0e7cf7e1cfc3a52af8a9fb2da1ca911a9958649"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dagucloud/dagu/pull/1688"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/dagucloud/dagu/security/advisories/GHSA-6qr9-g2xw-cw92"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/dagu-rce.yaml"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126752"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dagu-1.23.0-2.0.0-unauthenticated-rce-via-api-v2-dag-runs"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dagu-1.23.0-before-2.0.0-unauthenticated-rce-via-api-v2-dag-runs"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Dagu 1.23.0 \u003c 2.0.0 Unauthenticated RCE via /api/v2/dag-runs"
}