{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "22ebfacbb43311e9b73294040ae0eb87390c6bba"
            }
          ],
          "repo": "https://github.com/labring/fastgpt",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rvgc-2c29-g876"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-266",
      "CWE-494",
      "CWE-829"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50562.json"
  },
  "details": "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.",
  "id": "CVE-2026-50562",
  "modified": "2026-10-08T02:30:39.627376545Z",
  "published": "2026-07-15T16:55:03.994Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50562.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/labring/FastGPT/security/advisories/GHSA-rvgc-2c29-g876"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50562"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "FastGPT: Untrusted PR artifacts are pushed and deployed by privileged preview workflows"
}