# CVE-2026-126752: Dagu 1.23.0 < 2.0.0 Unauthenticated RCE via /api/v2/dag-runs

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-02-19T22:04:39.000Z
- Modified: 2026-11-19T21:45:00.797Z
- Also known as: GHSA-6qr9-g2xw-cw92, GO-2026-4527
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- dagu-org Dagu: from 1.23.0 before 2.0.0
- github.com/dagu-org/dagu (Go): up to 1.30.3; all versions

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/dagucloud/dagu/security/advisories/GHSA-6qr9-g2xw-cw92> (exploit, vendor-advisory)
- <https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/dagu-rce.yaml> (exploit, technical-description)
- <https://github.com/dagucloud/dagu/pull/1688> (issue-tracking, patch)
- <https://github.com/dagucloud/dagu/commit/c0e7cf7e1cfc3a52af8a9fb2da1ca911a9958649> (patch)
- <https://www.vulncheck.com/advisories/dagu-1.23.0-before-2.0.0-unauthenticated-rce-via-api-v2-dag-runs> (third-party-advisory)
- <https://www.vulncheck.com/advisories/dagu-1.23.0-2.0.0-unauthenticated-rce-via-api-v2-dag-runs> (third-party-advisory)
- <https://github.com/dagu-org/dagu/security/advisories/GHSA-6qr9-g2xw-cw92> (advisory, web)
- <https://github.com/dagu-org/dagu> (package)

## Sources

- CVE List: [CVE-2026-126752](https://www.cve.org/CVERecord?id=CVE-2026-126752), CVE Terms of Use, modified 2026-11-18
- GitHub Advisory Database: [GHSA-6qr9-g2xw-cw92](https://github.com/advisories/GHSA-6qr9-g2xw-cw92), CC-BY-4.0, modified 2026-11-18
- Go Vulnerability Database: [GO-2026-4527](https://pkg.go.dev/vuln/GO-2026-4527), CC-BY-4.0, modified 2026-11-18
- NVD: [CVE-2026-126752](https://nvd.nist.gov/vuln/detail/CVE-2026-126752), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-126752 · Whole record: https://cve.day/CVE-2026-126752.json · Rebuilt by cve.day 2026-11-25T22:59:51.853Z
