CVE-2026-50562 Details
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.
A vulnerability exists in FastGPT, a knowledge-based AI application platform, allowing untrusted pull request artifacts to be promoted by privileged workflows. This issue is present in versions through commit 22ebfacbb43311e9b73294040ae0eb87390c6bba. The vulnerability arises because artifacts built from untrusted pull request code can be downloaded by privileged 'workflow_run' jobs, which then push attacker-controlled Docker images to the GitHub Container Registry (GHCR) or deploy them to a Kubernetes environment using sensitive credentials.
Do not promote artifacts from untrusted pull request code in privileged workflows. Implement a trusted-origin gate before any push or deployment actions, and rebuild deployable images from trusted code. If untrusted preview images are necessary, push them to a non-production registry namespace using low-privilege credentials, and avoid deploying such images to Kubernetes clusters with significant privileges or network access.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 15, 2026CISA-ADP
Assessed Jul 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/labring/FastGPT/security/advisories/GHSA-rvgc-2c29-g876 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
| CWE-494 | Download of Code Without Integrity Check | [email protected] |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| labring/FastGPT | <= 22ebfacbb43311e9b73294040ae0eb87390c6bba |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | New CVE Received | [email protected] |
Volerion