{"id":"CVE-2026-47172","published":"2026-06-11T18:28:53Z","modified":"2026-06-11T19:38:00Z","title":"Quest Bot: Untrusted pull request code can be built and deployed by privileged `workflow_run` deployment.","vendor":"duck-organization","product":"quest-bot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.5,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00409,"percentile":0.36089,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/duck-organization/questbot/security/advisories/GHSA-9qf3-c86c-j346","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/duck-organization/questbot/releases/tag/questbot-v1.0.3","tags":["x_refsource_MISC"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":7.22},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.65}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-07","earliestUrl":"https://github.com/pvharmo2/gha-lab-00d54c717d","repos":[{"name":"pvharmo2/gha-lab-00d54c717d","url":"https://github.com/pvharmo2/gha-lab-00d54c717d","stars":0,"created":"2026-09-07"}]},"first":{"date":"2026-09-07","source":"PoC-in-GitHub","url":"https://github.com/pvharmo2/gha-lab-00d54c717d"},"provenance":"source"},"vendorSlug":"duck-organization","affectedVersions":[{"vendor":"duck-organization","product":"quest-bot","versions":["< 1.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-11T19:37:57.133334Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36300","exploited":false,"provenance":"source"}}