Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-50562: CWE-266: Incorrect Privilege Assignment in labring FastGPT

0
Critical
VulnerabilityCVE-2026-50562cvecve-2026-50562cwe-266cwe-494cwe-829
Published: 07/15/2026 (07/15/2026, 16:55:03 UTC)
Source: CVE Database V5
Vendor/Project: labring
Product: FastGPT

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.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
Low
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 17:47:57 UTC

Technical Analysis

FastGPT, a knowledge-based AI application platform by labring, has a critical privilege assignment vulnerability (CVE-2026-50562) present in commit 22ebfacbb43311e9b73294040ae0eb87390c6bba and earlier. The vulnerability involves GitHub Actions workflows where privileged workflow_run jobs (.github/workflows/preview-docs-push.yml and preview-fastgpt-push.yml) can download artifacts created from untrusted pull request code in preview-docs-build.yml and preview-fastgpt-build.yml. This flaw enables an attacker to push malicious Docker images to GHCR and deploy documentation previews with access to secrets such as KUBE_CONFIG_CN. The vulnerability is associated with CWE-266 (Incorrect Privilege Assignment), CWE-494 (Download of Code Without Integrity Check), and CWE-829 (Inclusion of Functionality from Untrusted Control Sphere). There is no vendor advisory or patch available at this time.

Potential Impact

An attacker can exploit this vulnerability to push attacker-controlled Docker images to the GitHub Container Registry and deploy them with access to sensitive secrets, potentially leading to unauthorized code execution and compromise of deployment environments. The vulnerability allows privilege escalation within GitHub Actions workflows by leveraging untrusted code artifacts, posing a high risk to the confidentiality and integrity of the affected systems.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, it is recommended to review and restrict the privileges of GitHub Actions workflows, especially those that handle untrusted pull request code. Avoid allowing privileged jobs to consume artifacts from untrusted sources and consider disabling or isolating workflows that build and deploy from untrusted code. Monitor for updates from labring regarding official patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-04T21:34:34.426Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a57c45368715ace431fb29d

Added to database: 07/15/2026, 17:33:07 UTC

Last enriched: 07/15/2026, 17:47:57 UTC

Last updated: 07/15/2026, 18:41:31 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses