CVE-2026-42343

FastGPT: Uncontrolled Resource Consumption leading to Sandbox Exhaustion

Published May 8, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

FastGPT’s code‑sandbox lacks stringent OS‑level isolation and relies solely on an application‑level 500ms polling interval to constrain memory usage. Attackers can exploit this architectural weakness by timing attacks that bypass the memory checks or by flooding the system with concurrent CPU‑intensive requests, thereby exhausting the JavaScript worker pool. The immediate consequence is a complete denial of service for legitimate users.

Affected Systems

The vulnerability affects the labring FastGPT platform in all releases 4.14.13 and earlier. Users running these versions on any operating system where the sandbox is active are exposed to the issue.

Risk and Exploitability

With a CVSS score of 6.3 the risk is moderate. No EPSS data is available, and the vulnerability is not listed in CISA’s KEV catalog, indicating that it has not yet been widely exploited in the wild. However, the lack of any OS‑level resource limits means that an attacker can readily launch the described attacks without needing elevated credentials, rendering the exploit straightforward and scalable. The moderate severity combined with the potential for full service disruption underscores the need for timely mitigations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check the vendor’s website or security advisories for updates and apply patches when available.
  • Deploy OS‑level resource limits such as cgroups or container isolation to constrain each JavaScript worker’s memory and CPU usage.
  • Reduce the polling interval or implement hard timeouts to stop attackers from bypassing memory checks through time‑window attacks.
  • Set up monitoring and alerts for abnormal concurrency or CPU spikes and implement rate‑limiting or temporary blocking of suspicious requests.

Generated by OpenCVE AI on May 8, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Labring
Labring fastgpt
Vendors & Products Labring
Labring fastgpt
Type Values Removed Values Added
Description 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.
Title FastGPT: Uncontrolled Resource Consumption leading to Sandbox Exhaustion
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 12, 2026, 2:10 AM
Reserved
Apr 26, 2026, 1:26 PM
Status
Deferred
Published
May 8, 2026, 11:16 PM
Modified
Jul 24, 2026, 9:10 PM