{
  "id": "CVE-2025-61584",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-61584",
  "published_at": "2025-09-30T00:12:23.873Z",
  "title": "serverless-dns is vulnerable to Command Injection through pr.yml GitHub Action Workflow",
  "vendor": "serverless-dns",
  "product": "serverless-dns",
  "cvss": {
    "score": 9.3,
    "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:P"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "serverless-dns is a RethinkDNS resolver that deploys to Cloudflare Workers, Deno Deploy, Fastly, and Fly.io. Versions through abd including 0.1.30 have a vulnerability where the pr.yml GitHub Action interpolates in an unsafe manner untrusted input, specifically the github.event.pull_request.head.repo.clone_url and github.head_ref, to a command in the runner. Due to the action using the pull_request_target trigger it has permissive permissions by default. An unauthorized attacker can exploit this vulnerability to push arbitrary data to the repository. The subsequent impact on the end-user is executing the attackers' code when running serverless-dns. This is fixed in commit c5537dd, and expected to be released in 0.1.31.",
  "cwe": "CWE-77",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [
    {
      "repo": "pvharmo2/gha-lab-6904b2ccbe",
      "url": "https://github.com/pvharmo2/gha-lab-6904b2ccbe",
      "created_at": "2026-09-04T11:52:18Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 50,
      "suspicious": true,
      "suspicion_reasons": [
        "pipes a download into a shell / encoded PowerShell in README.md"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-07-12T22:04:11Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "serverless-dns",
        "product": "serverless-dns",
        "ranges": [
          "\u003c 0.1.31"
        ],
        "fixed_in": [
          "0.1.31"
        ]
      }
    ],
    "upgrade": [
      "Upgrade serverless-dns to 0.1.31 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/serverless-dns/serverless-dns/security/advisories/GHSA-9g7x-737f-5xpc"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/serverless-dns/serverless-dns/commit/c5537dd7f203c59f2b86d1e295c2371f3533946a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
