{
  "id": "CVE-2026-47172",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-47172",
  "published_at": "2026-06-11T18:28:53.321Z",
  "title": "Quest Bot: Untrusted pull request code can be built and deployed by privileged `workflow_run` deployment.",
  "vendor": "duck-organization",
  "product": "quest-bot",
  "cvss": {
    "score": 9.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Quest Bot is an opensource modern Discord Bot built for moderation, utilities and support. Prior to version 1.0.3, the repository has a privileged deploy workflow that runs after the unprivileged build workflow completes. The build workflow runs on pull requests, and the deploy workflow checks out the triggering workflow’s head_sha, builds that code into a Docker image, pushes it as latest, and triggers production deployment. If an attacker can open a pull request from a branch named main, the deploy workflow condition can treat the PR build as deployable and build the attacker-controlled commit in a privileged deployment context. This can result in malicious container deployment and production bot compromise. This issue has been patched in version 1.0.3.",
  "cwe": "CWE-829",
  "cvss_by_source": {
    "cna": 9.5
  },
  "repos": [
    {
      "repo": "pvharmo2/gha-lab-00d54c717d",
      "url": "https://github.com/pvharmo2/gha-lab-00d54c717d",
      "created_at": "2026-09-07T12:07:23Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-07-12T22:04:11Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "duck-organization",
        "product": "quest-bot",
        "ranges": [
          "\u003c 1.0.3"
        ],
        "fixed_in": [
          "1.0.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade quest-bot to 1.0.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/duck-organization/questbot/security/advisories/GHSA-9qf3-c86c-j346"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/duck-organization/questbot/releases/tag/questbot-v1.0.3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
