# CVE-2026-47172: Quest Bot: Untrusted pull request code can be built and deployed by privileged `workflow_run` deployment.

- Severity: Critical 9.5 (CVSS:4.0, scored by GitHub_M) `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`
- 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.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-11T18:28:53.321Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- duck-organization quest-bot: < 1.0.3

## References

- <https://github.com/duck-organization/questbot/security/advisories/GHSA-9qf3-c86c-j346> (exploit)
- <https://github.com/duck-organization/questbot/releases/tag/questbot-v1.0.3>

## Sources

- CVE List: [CVE-2026-47172](https://www.cve.org/CVERecord?id=CVE-2026-47172), CVE Terms of Use, modified 2026-06-11
- NVD: [CVE-2026-47172](https://nvd.nist.gov/vuln/detail/CVE-2026-47172), Public domain, modified 2026-10-25

---

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