Skip to main content

FastGPT CVE-2026-42343

MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-05-08 GitHub_M
6.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send concurrent code-execution requests
  2. Delivery
    Exceed JavaScript worker pool capacity
  3. Exploit
    Exhaust available workers
  4. Execution
    Queue legitimate requests without processing
  5. Impact
    Complete service unavailability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The FastGPT code-sandbox API endpoint must be network-accessible without authentication (default configuration). Exploitation requires the ability to send HTTP requests to the code-execution API and knowledge of or ability to infer the JavaScript worker pool size. The attack succeeds because: (1) no OS-level resource isolation restricts worker memory or CPU, (2) the 500ms polling interval for soft limits is sufficiently long to be bypassed via timing attacks, (3) the application does not implement per-user or per-request rate limits, and (4) concurrent requests are processed in parallel without meaningful queuing or backpressure. The vulnerability is NOT limited to specific configurations or non-default setups-it affects any FastGPT deployment where the code-sandbox component is enabled and network-accessible, which is the standard deployment model for an AI Agent building platform.

Impact

CVSS 6.3 with attack vector Network and complexity Low indicates a remotely exploitable vulnerability. However, the CVSS vector includes AT:P (Attack Timing: Possible), suggesting the attack requires timing precision or specific conditions to succeed reliably. The impact vector (VA:L, SA:N) classifies this as availability damage without integrity or confidentiality impact, consistent with a denial-of-service attack. EPSS data is not provided, limiting probability assessment. KEV status is not confirmed in provided data, and no public exploit code has been reported at time of analysis. The real-world risk is significant for FastGPT deployments because: (1) the vulnerability is in a core sandbox component handling untrusted code, (2) no patch exists yet forcing reliance on workarounds, (3) attack complexity is low and requires no authentication, and (4) the impact is complete service unavailability rather than isolated user impact. For organizations operating FastGPT in production as an AI Agent building platform serving multiple users, this represents a critical availability risk despite the moderate CVSS score.

Exploit ScenarioDerived

An unauthenticated attacker sends a rapid burst of API requests to the code-sandbox endpoint, each containing a CPU-intensive JavaScript payload designed to execute longer than the 500ms polling interval. The soft memory limit is bypassed through timing attacks, and the JavaScript worker pool is exhausted as requests queue faster than workers complete execution. Subsequent legitimate user requests time out or fail, resulting in complete service denial.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 09, 2026

Denial of service vulnerability in FastGPT 4.14.13 and prior affects the code-sandbox component due to insufficient resource isolation and reliance on weak application-level memory limits. Unauthenticated remote attackers can trigger complete service unavailability by launching time-window memory attacks or exhausting the JavaScript worker pool via concurrent CPU-intensive requests. Attack complexity is reported as low with attack timing considerations (AT:P), and no vendor-released patch is available at time of publication.

RemediationAI

No vendor-released patch is available at time of publication. Immediate mitigation requires implementing OS-level resource constraints independent of the application: deploy FastGPT code-sandbox workers within cgroups-managed containers (Linux) with explicit CPU and memory quotas, use Kubernetes resource requests/limits to enforce pod-level constraints, or isolate workers in separate virtual machines with hard resource boundaries. Additionally, implement application-level rate limiting on code execution requests at the API layer to prevent concurrent request flooding, set strict timeouts (significantly shorter than 500ms) for code execution with immediate worker termination on timeout, and monitor JavaScript worker pool utilization with alerting on threshold breach. Disable or restrict access to the code-sandbox feature entirely if it is not critical to operations, as this provides the strongest mitigation. Each control has trade-offs: OS-level isolation reduces attack surface but increases infrastructure complexity and may increase latency; application-level rate limiting protects availability but may degrade user experience during legitimate load. Users should monitor the GitHub advisory at https://github.com/labring/FastGPT/security/advisories/GHSA-qv7v-r94x-6x3x for patch availability.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FastGPT's code-sandbox component is responsible for safely executing user-provided code in an isolated environment. However, the implementation relies solely on application-level soft limits-specifically a 500ms polling interval for memory management-rather than OS-level resource constraints such as cgroups (Linux control groups) or kernel-level namespaces. This architectural approach leaves the service vulnerable to resource exhaustion attacks. CWE-400 (Uncontrolled Resource Consumption) identifies the root cause: the absence of proper rate limiting, quota enforcement, or hard resource boundaries allows attackers to consume memory and CPU beyond intended limits. The JavaScript worker pool, used to execute sandboxed code, can be completely exhausted by coordinated concurrent requests, leaving no capacity for legitimate users.

Know when Fastgpt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 08, 2026 - 23:22 NVD
6.3 (MEDIUM)
CVE Published
May 08, 2026 - 22:09 nvd
UNKNOWN (no severity yet)
CVE Published
May 08, 2026 - 22:09 nvd
MEDIUM 6.3

DescriptionCVE.org

FastGPT is an AI Agent building platform. In versions 4.14.13 and prior, the code-sandbox component suffers from insufficient resource isolation and uncontrolled resource consumption. The service relies solely on an application-level soft limit (a 500ms polling interval) for memory management and lacks strict OS-level constraints such as cgroups or kernel-level namespaces. This architectural weakness allows attackers to easily bypass memory checks via time-window attacks, or exhaust the entire JavaScript worker pool via concurrent CPU-intensive requests, resulting in a complete Denial of Service (DoS) for legitimate users. At time of publication, there are no publicly available patches.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:labring:fastgpt:*:*:*:*:*:*:*:*
CVE-2025-52552 MEDIUM POC
6.1 Jun 21

FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable t

CVE-2026-34162 CRITICAL
10.0 Mar 31

Unauthenticated HTTP proxy abuse in FastGPT (AI Agent platform) prior to v4.14.9.5 allows remote attackers to relay arbi

CVE-2026-42302 CRITICAL
9.8 May 08

Remote code execution in FastGPT's agent-sandbox component (versions 4.14.10 through 4.14.12) lets any network-adjacent,

CVE-2026-40351 CRITICAL
9.8 Apr 17

NoSQL injection in FastGPT <4.14.9.5 password authentication allows unauthenticated remote attackers to bypass login con

CVE-2026-68929 CRITICAL
9.3 Aug 27

Channel hijack and denial of service in FastGPT (labring/FastGPT) before 4.15.2 lets an unauthenticated remote attacker

CVE-2026-50562 CRITICAL
9.3 Jul 15

GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request

CVE-2026-61684 HIGH
8.8 Jul 15

Authentication bypass in FastGPT 4.15.0-beta4 lets unauthenticated remote attackers forge JWTs and access internal plugi

CVE-2026-40352 HIGH
8.8 Apr 17

NoSQL injection in FastGPT versions before 4.14.9.5 allows authenticated attackers to bypass password verification on th

CVE-2026-33075 HIGH
8.8 Mar 20

FastGPT versions 4.14.8.3 and below contain a critical arbitrary code execution vulnerability in the fastgpt-preview-ima

CVE-2026-55418 HIGH
8.6 Jul 07

Cross-tenant file disclosure in FastGPT prior to v4.15.0-beta5 allows an attacker to read another team's stored files by

CVE-2026-61644 HIGH
7.7 Jul 15

Cross-tenant data disclosure in FastGPT 4.14.17 through 4.15.0-beta5 lets a low-privileged tenant user read another tena

CVE-2026-54607 HIGH
7.7 Jul 07

Server-side request forgery in FastGPT before 4.15.0-beta4 lets an authenticated team member abuse the HTTP-tool OpenAPI

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy