CVE-2026-47172
JSON

9.5critical

Quest Bot: Untrusted pull request code can be built and deployed by privileged `workflow_run` deployment.

Severity
9.5critical CVSS:4.0 by GitHub_M
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
duck-organization quest-bot< 1.0.3CVE List

Classification

CWE-829

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47172 changed 2026-06-11CVE Terms of Use
NVDCVE-2026-47172 changed 2026-10-25Public domain