The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42343

CVE-2026-42343: FastGPT Code-Sandbox DoS Vulnerability

CVE-2026-42343 is a denial of service flaw in FastGPT's code-sandbox component caused by insufficient resource isolation. Attackers can exhaust system resources and deny service to users. This article covers affected versions, impact, and mitigation strategies.

Published: May 18, 2026

CVE-2026-42343 Overview

CVE-2026-42343 affects FastGPT, an AI Agent building platform developed by labring. Versions 4.14.13 and prior contain a resource exhaustion flaw [CWE-400] in the code-sandbox component. The sandbox relies on an application-level soft limit using a 500ms polling interval for memory management. It lacks operating system enforced constraints such as cgroups or kernel namespaces. Attackers can bypass memory checks through time-window attacks or saturate the JavaScript worker pool with concurrent CPU-intensive requests. Successful exploitation denies service to legitimate users. No vendor patch is available at the time of publication.

Critical Impact

Unauthenticated network attackers can exhaust the FastGPT code-sandbox worker pool, causing complete denial of service for all users of the platform.

Affected Products

  • FastGPT versions 4.14.13 and earlier
  • The code-sandbox component of FastGPT
  • Deployments exposing FastGPT code execution endpoints to untrusted clients

Discovery Timeline

  • 2026-05-08 - CVE-2026-42343 published to the National Vulnerability Database
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-42343

Vulnerability Analysis

The FastGPT code-sandbox executes user-supplied JavaScript inside worker processes. The component enforces memory limits only at the application layer by polling worker memory consumption every 500 milliseconds. No cgroup, namespace, ulimit, or container-level resource boundary backs this soft limit. The design assumes user code behaves cooperatively between polling intervals.

This assumption breaks under two attack patterns. First, malicious code can allocate large memory regions and release them before the next poll, evading detection while still pressuring the host. Second, attackers can submit many concurrent CPU-bound payloads. The worker pool is finite, and each long-running task occupies one slot until completion.

The vulnerability is classified under [CWE-400] Uncontrolled Resource Consumption. It does not yield code execution outside the sandbox, but it removes availability for legitimate users of the FastGPT instance.

Root Cause

The root cause is missing operating system level isolation for sandboxed workloads. Application-level polling cannot enforce hard limits because user code runs continuously between checks. The architecture also lacks per-request CPU time budgets and worker pool admission control, allowing a single client to consume all available execution capacity.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker submits crafted code execution requests to the FastGPT API. For the memory bypass, the payload allocates and frees buffers within each 500ms window. For the worker exhaustion path, the attacker issues concurrent requests containing tight CPU loops. Either approach scales linearly with request volume and leads to a denial of service condition.

Detection Methods for CVE-2026-42343

Indicators of Compromise

  • Sustained high CPU utilization on FastGPT worker processes with no corresponding legitimate workload increase
  • Repeated code execution requests from a single source containing tight loops, large allocations, or recursive patterns
  • API timeouts or queue backlogs in the code-sandbox service while the host remains otherwise responsive
  • Memory usage spikes that disappear before the 500ms polling interval reports them

Detection Strategies

  • Inspect code-sandbox request payloads for patterns consistent with allocation churn or CPU saturation loops
  • Correlate per-client request rates against worker pool occupancy to identify single-source exhaustion
  • Alert when worker pool utilization exceeds a defined threshold for sustained periods
  • Log and review request bodies submitted to FastGPT code execution endpoints

Monitoring Recommendations

  • Monitor process-level CPU and resident memory for FastGPT worker containers at sub-second resolution
  • Track the ratio of completed to queued sandbox jobs and alert on growing backlogs
  • Capture network telemetry for requests targeting FastGPT code execution APIs and baseline normal volume

How to Mitigate CVE-2026-42343

Immediate Actions Required

  • Restrict network access to FastGPT instances so only authenticated, trusted users can reach the code-sandbox endpoints
  • Place a reverse proxy in front of FastGPT and enforce per-client rate limits and request size caps
  • Run FastGPT workers inside containers with cgroup memory and CPU limits configured at the runtime layer
  • Reduce worker pool exposure by lowering maximum concurrent sandbox jobs per tenant

Patch Information

At the time of publication, no official patch is available. Review the GitHub Security Advisory GHSA-qv7v-r94x-6x3x for vendor updates and apply fixes as soon as labring publishes them.

Workarounds

  • Enforce hard CPU and memory limits on FastGPT containers using Docker --cpus and --memory flags or Kubernetes resource limits
  • Disable or gate the code execution feature for unauthenticated and low-trust user populations
  • Deploy a web application firewall rule to throttle requests to sandbox endpoints by source identifier
  • Isolate each FastGPT tenant in its own worker pool to prevent cross-tenant exhaustion
bash
# Configuration example: enforce OS-level limits on FastGPT containers
docker run -d \
  --name fastgpt \
  --cpus="2.0" \
  --memory="2g" \
  --memory-swap="2g" \
  --pids-limit=256 \
  --restart=unless-stopped \
  labring/fastgpt:latest

# Kubernetes equivalent
# resources:
#   limits:
#     cpu: "2"
#     memory: "2Gi"
#   requests:
#     cpu: "500m"
#     memory: "512Mi"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechFastgpt

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42302: FastGPT Agent-Sandbox RCE Vulnerability

  • CVE-2026-44284: FastGPT MCP Tool SSRF Vulnerability

  • CVE-2026-44286: FastGPT SSRF Vulnerability Explained

  • CVE-2026-42345: FastGPT Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English