{"id":"CVE-2026-50562","state":"PUBLISHED","title":"FastGPT: Untrusted PR artifacts are pushed and deployed by privileged preview workflows","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.","publishedAt":"2026-07-15T16:55:03.994Z","updatedAt":"2026-07-15T18:13:13.693Z","severity":{"score":9.3,"label":"Critical","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["labring FastGPT"],"affected":[{"vendor":"labring","product":"FastGPT","versions":[{"version":"<= 22ebfacbb43311e9b73294040ae0eb87390c6bba","status":"affected"}]}],"references":["https://github.com/labring/FastGPT/security/advisories/GHSA-rvgc-2c29-g876"],"weaknesses":["CWE-266","CWE-494","CWE-829"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/50xxx/CVE-2026-50562.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-50562","state":"PUBLISHED","datePublished":"2026-07-15T16:55:03.994Z","dateUpdated":"2026-07-15T18:13:13.693Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-04T21:34:34.426Z"},"containers":{"cna":{"title":"FastGPT: Untrusted PR artifacts are pushed and deployed by privileged preview workflows","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"labring","product":"FastGPT","versions":[{"version":"<= 22ebfacbb43311e9b73294040ae0eb87390c6bba","status":"affected"}]}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-rvgc-2c29-g876","name":"https://github.com/labring/FastGPT/security/advisories/GHSA-rvgc-2c29-g876","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"LOW","baseScore":9.3,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-266","lang":"en","description":"CWE-266: Incorrect Privilege Assignment","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-494","lang":"en","description":"CWE-494: Download of Code Without Integrity Check","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-829","lang":"en","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T16:55:03.994Z"},"source":{"advisory":"GHSA-rvgc-2c29-g876","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T18:12:59.906481Z","id":"CVE-2026-50562","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T18:13:13.693Z"}}]}}}