Severity by source
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
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.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
Same weakness CWE-266 – Incorrect Privilege Assignment
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44749