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.
Published: 2026-07-15
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FastGPT (labring:FastGPT) is a knowledge‑based AI application platform. Until commit 22ebfacbb43311e9b73294040ae0eb87390c6bba, artifacts are built from untrusted pull‑request code in the ".github/workflows/preview‑docs‑build.yml" and ".github/workflows/preview‑fastgpt‑build.yml" files. These artifacts can be downloaded by privileged workflow_run jobs defined in ".github/workflows/preview‑docs‑push.yml" and ".github/workflows/preview‑fastgpt‑push.yml". As a result, an attacker who controls the pull request can create Docker images that are automatically pushed to GitHub Container Registry and, for documentation previews, deployed into the target cluster using the secrets.KUBE_CONFIG_CN Kubernetes configuration. The attacker therefore achieves remote code execution inside the container runtime through the automated preview workflow.

Affected Systems

The vulnerable component is the FastGPT platform as maintained by labring. Versions up to and including commit 22ebfacbb43311e9b73294040ae0eb87390c6bba are affected. No specific release numbers are provided beyond this commit marker.

Risk and Exploitability

The CVSS score of 9.3 indicates a high severity vulnerability. The EPSS score is less than 1%, suggesting the probability of exploitation is currently low but non‑zero. The vulnerability is not listed in CISA's KEV catalog. Attackers can exercise the malicious path by submitting a pull request containing a malicious Dockerfile, then triggering a preview workflow that uses the untrusted artifact. If the workflow has privileged status, the attacker’s image is automatically pushed and deployed, giving remote code execution within the target environment.

Generated by OpenCVE AI on July 31, 2026 at 03:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update FastGPT to the latest commit that fixes the preview workflow issue.
  • Restrict preview workflows so that they only download artifacts from trusted origins and validate image signatures before pushing to GHCR.
  • Review and limit the scope of the KUBE_CONFIG_CN secret to prevent unintended deployments of unverified container images.

Generated by OpenCVE AI on July 31, 2026 at 03:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Labring
Labring fastgpt
Vendors & Products Labring
Labring fastgpt

Wed, 15 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title FastGPT: Untrusted PR artifacts are pushed and deployed by privileged preview workflows
Weaknesses CWE-266
CWE-494
CWE-829
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-15T18:13:13.693Z

Reserved: 2026-06-04T21:34:34.426Z

Link: CVE-2026-50562

cve-icon Vulnrichment

Updated: 2026-07-15T18:13:08.699Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:30:18Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-494

    Download of Code Without Integrity Check

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere