CVE-2026-47172
Quest Bot: Untrusted pull request code can be built and deployed by privileged `workflow_run` deployment.
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.
INFO
Published Date :
June 11, 2026, 7:16 p.m.
Last Modified :
Oct. 25, 2026, 11:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | CRITICAL | [email protected] |
Solution
- Update Quest Bot to version 1.0.3 or later.
- Review and secure CI/CD deployment workflows.
- Ensure branch protection rules are enforced.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-47172.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-47172 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-47172
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-47172 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-47172 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 25, 2026
Action Type Old Value New Value Added Translation Title: quest-bot de duck-organization, Description: Quest Bot es un bot de Discord moderno de código abierto diseñado para moderación, utilidades y soporte. Antes de la versión 1.0.3, el repositorio tiene un flujo de trabajo de despliegue privilegiado que se ejecuta después de que el flujo de trabajo de construcción no privilegiado se completa. El flujo de trabajo de construcción se ejecuta en solicitudes de extracción, y el flujo de trabajo de despliegue extrae el head_sha del flujo de trabajo desencadenante, construye ese código en una imagen de Docker, lo sube como ’latest’ y desencadena el despliegue en producción. Si un atacante puede abrir una solicitud de extracción desde una rama llamada ’main’, la condición del flujo de trabajo de despliegue puede tratar la construcción de la PR como desplegable y construir el commit controlado por el atacante en un contexto de despliegue privilegiado. Esto puede resultar en el despliegue de contenedores maliciosos y el compromiso del bot en producción. Este problema ha sido parcheado en la versión 1.0.3. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'duck-organization', 'product': 'quest-bot', 'versions': [{'status': 'affected', 'version': '< 1.0.3'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-47172', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-11T19:37:57.133334Z'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 11, 2026
Action Type Old Value New Value Added Reference https://github.com/duck-organization/questbot/security/advisories/GHSA-9qf3-c86c-j346 -
New CVE Received by [email protected]
Jun. 11, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-829 Added Reference https://github.com/duck-organization/questbot/releases/tag/questbot-v1.0.3 Added Reference https://github.com/duck-organization/questbot/security/advisories/GHSA-9qf3-c86c-j346