CVE-2026-47172

Source
https://cve.org/CVERecord?id=CVE-2026-47172
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47172.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-47172
Aliases
  • GHSA-9qf3-c86c-j346
Published
2026-06-11T18:28:53.321Z
Modified
2026-07-08T08:13:35.863878739Z
Severity
  • 9.5 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Quest Bot: Untrusted pull request code can be built and deployed by privileged `workflow_run` deployment.
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47172.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-829"
    ]
}
References

Affected packages

Git / github.com/duck-organization/questbot

Affected ranges

Type
GIT
Repo
https://github.com/duck-organization/questbot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.3"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

questbot-v1.*
questbot-v1.0.1
questbot-v1.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47172.json"