Skip to main content

FastGPT CVE-2026-50562

| EUVDEUVD-2026-44749 CRITICAL
Incorrect Privilege Assignment (CWE-266)
2026-07-15 GitHub_M
9.3
CVSS 4.0 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
9.3 CRITICAL
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
10.0 CRITICAL

Anyone can open a PR so PR:N/UI:N; scope changes (S:C) as the CI flaw compromises GHCR and the K8s cluster; C:H from KUBE_CONFIG_CN exposure, I:H from malicious image push, A:L from possible deploy disruption.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:L

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

2
Analysis Generated
Jul 15, 2026 - 17:46 vuln.today
CVE Published
Jul 15, 2026 - 16:55 cve.org
CRITICAL 9.3

DescriptionCVE.org

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.

AnalysisAI

GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request to smuggle attacker-controlled Docker images into privileged CI/CD pipelines. At commit 22ebfacbb43311e9b73294040ae0eb87390c6bba and earlier, artifacts built from untrusted PR code in the preview-docs-build and preview-fastgpt-build workflows are consumed by privileged workflow_run jobs, letting a malicious image be pushed to GHCR and, for documentation previews, deployed to a Kubernetes cluster using the secrets.KUBE_CONFIG_CN credential. There is no public exploit identified at time of analysis and it is not in CISA KEV, but the flaw is trivially reachable by any contributor.

Technical ContextAI

The root cause is CWE-266 (Incorrect Privilege Assignment) manifested as the classic GitHub Actions 'pwn request' / artifact-poisoning pattern. The build workflows (.github/workflows/preview-docs-build.yml and preview-fastgpt-build.yml) run in the low-privilege pull_request context and produce build artifacts from untrusted fork code (the document/ tree and the FastGPT build context). The push workflows (preview-docs-push.yml and preview-fastgpt-push.yml) are triggered by the workflow_run event, which executes in the repository's trusted context with access to write permissions and secrets. Because the privileged workflow_run job downloads and trusts an artifact produced by attacker code, a fork PR can substitute a malicious Docker image that is then pushed to the GitHub Container Registry (GHCR) and, for the docs pipeline, deployed to the CN Kubernetes cluster via secrets.KUBE_CONFIG_CN. The affected product per CPE is cpe:2.3:a:labring:fastgpt:*:*:*:*:*:*:*:*.

RemediationAI

Update to a FastGPT commit that includes the corrected workflows as described in advisory GHSA-rvgc-2c29-g876 (https://github.com/labring/FastGPT/security/advisories/GHSA-rvgc-2c29-g876); an exact patched release tag is not specified in the available data, so the fix should be pulled from the commit that supersedes 22ebfacbb43311e9b73294040ae0eb87390c6bba. Concrete hardening steps that address the pwn-request pattern: stop passing repository secrets (especially KUBE_CONFIG_CN) to any job that consumes artifacts built from fork code; require manual approval for workflows triggered by external pull requests via GitHub's 'require approval for all outside collaborators' setting; validate and pin artifact provenance before the privileged workflow_run job downloads it, or rebuild the image inside the trusted job rather than trusting the PR-produced artifact; scope the GHCR/registry token and KUBE_CONFIG_CN to the minimum needed and rotate KUBE_CONFIG_CN if there is any suspicion it was exposed. The trade-off of requiring PR approval is added maintainer friction on legitimate contributions, and rebuilding images in-trust increases CI runtime.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

CVE-2025-34221 CRITICAL POC
10.0 Sep 29

Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2

Share

CVE-2026-50562 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy