CVE-2026-50562

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

State
Published
Severity
9.3 Critical
Published
Jul 15, 2026
Updated
Jul 15, 2026
Reserved
Jun 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:LGitHub_M

Weaknesses

  • CWE-266 Incorrect Privilege Assignment
  • CWE-494 Download of Code Without Integrity Check
  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

Affected Products

ProductVersions
FastGPTlabring
  • <= 22ebfacbb43311e9b73294040ae0eb87390c6bbaAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.