CVE-2026-50562
JSON

9.3critical

FastGPT: Untrusted PR artifacts are pushed and deployed by privileged preview workflows

Severity
9.3critical CVSS:4.0 by GitHub_M
Exploit likelihood
0.21% (higher than 7% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

FastGPT is a knowledge-based AI application platform. At commit 22ebfacbb43311e9b73294040ae0eb87390c6bba and earlier, artifacts built from untrusted pull request code in .github/workflows/preview-docs-build.yml and .github/workflows/preview-fastgpt-build.yml can be downloaded by privileged workflow_run jobs in .github/workflows/preview-docs-push.yml and .github/workflows/preview-fastgpt-push.yml, allowing attacker-controlled Docker images from the document/ tree or FastGPT build context to be pushed to GHCR and, for documentation previews, deployed with secrets.KUBE_CONFIG_CN.

Affected

Product or packageVersionsReported by
labring FastGPT<= 22ebfacbb43311e9b73294040ae0eb87390c6bbaCVE List

Classification

CWE-266CWE-494CWE-829

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

FastGPT is a knowledge-based AI application platform. At commit 22ebfacbb43311e9b73294040ae0eb87390c6bba and earlier, artifacts built from untrusted pull request code in .github/workflows/preview-docs-build.yml and .github/workflows/preview-fastgpt-build.yml can be downloaded by privileged workflow_run jobs in .github/workflows/preview-docs-push.yml and .github/workflows/preview-fastgpt-push.yml, allowing attacker-controlled Docker images from the document/ tree or FastGPT build context to be pushed to GHCR and, for documentation previews, deployed with secrets.KUBE_CONFIG_CN.

NVD (es)

FastGPT es una plataforma de aplicación de IA basada en conocimiento. En el commit 22ebfacbb43311e9b73294040ae0eb87390c6bba y anteriores, los artefactos construidos a partir de código de solicitud de extracción no confiable en .github/workflows/preview-docs-build.yml y .github/workflows/preview-fastgpt-build.yml pueden ser descargados por trabajos workflow_run privilegiados en .github/workflows/preview-docs-push.yml y .github/workflows/preview-fastgpt-push.yml, permitiendo que imágenes Docker controladas por el atacante desde el árbol document/ o el contexto de construcción de FastGPT sean enviadas a GHCR y, para las vistas previas de la documentación, desplegadas con secrets.KUBE_CONFIG_CN.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-50562 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-50562 changed 2026-10-24Public domain