Skip to main content

Fastchat CVE-2026-6607

| EUVDEUVD-2026-23778 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-04-20 VulDB GHSA-5h65-jx66-j7p5
5.5
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

7
PoC Detected
Apr 22, 2026 - 20:22 vuln.today
Public exploit code
Analysis Generated
Apr 20, 2026 - 05:26 vuln.today
CVSS changed
Apr 20, 2026 - 05:22 NVD
5.3 (MEDIUM) 5.5 (MEDIUM)
EUVD ID Assigned
Apr 20, 2026 - 05:15 euvd
EUVD-2026-23778
Analysis Generated
Apr 20, 2026 - 05:15 vuln.today
Patch released
Apr 20, 2026 - 05:15 nvd
Patch available
CVE Published
Apr 20, 2026 - 05:00 nvd
MEDIUM 5.5

DescriptionCVE.org

A security vulnerability has been detected in lm-sys fastchat up to 0.2.36. This issue affects the function api_generate of the component Worker API Endpoint. The manipulation leads to resource consumption. The attack can be initiated remotely. The exploit has been disclosed publicly and may be used. The identifier of the patch is c9e84b89c91d45191dc24466888de526fa04cf33. It is suggested to install a patch to address this issue. Commit ff66426 patched this issue in api_generate of base_model_worker.py and did miss other entry points.

AnalysisAI

Resource exhaustion in lm-sys FastChat up to 0.2.36 allows remote attackers to trigger denial of service by sending manipulated requests to the Worker API Endpoint's api_generate function. The vulnerability has publicly available exploit code and is confirmed patched upstream, though the fix in commit c9e84b89c91d45191dc24466888de526fa04cf33 addresses only the primary entry point in base_model_worker.py while missing other vulnerable code paths. EPSS score of 5.5 (CVSS 4.0) indicates low to moderate real-world exploitation probability despite public exploit availability.

Technical ContextAI

FastChat is an open-source LLM serving framework that exposes a Worker API Endpoint for distributed inference. The vulnerability resides in the api_generate function of the Worker API component, which processes inference requests. CWE-400 (Uncontrolled Resource Consumption) indicates the vulnerability allows attackers to exhaust system resources such as memory, CPU, or file descriptors through crafted API requests. The attack vector is network-based with low complexity (AC:L), meaning no special network conditions are required. The underlying issue stems from insufficient input validation or rate limiting on the api_generate endpoint, permitting attackers to submit resource-intensive requests without proportional resource accounting or request throttling.

RemediationAI

Apply the upstream patch from commit c9e84b89c91d45191dc24466888de526fa04cf33 (referenced in GitHub PR #3835 at https://github.com/lm-sys/FastChat/pull/3835) to address the vulnerability in the api_generate function of base_model_worker.py. However, note that this patch addresses only the primary entry point and does not cover other vulnerable code paths identified in the CVE. After patching, audit alternative API endpoints in the Worker API component for similar resource consumption vulnerabilities. If immediate patching is not possible, implement compensating controls: rate-limit requests to the Worker API Endpoint at the reverse proxy or load balancer level (trade-off: may reduce legitimate high-throughput inference workloads), restrict network access to the Worker API to trusted infrastructure only (trade-off: reduces flexibility in distributed deployments), and monitor system resource utilization (CPU, memory, file descriptors) for anomalous spikes indicating resource exhaustion attempts. Additionally, verify whether newer FastChat versions beyond 0.2.36 have been released with a more comprehensive fix addressing the missed entry points.

Share

CVE-2026-6607 vulnerability details – vuln.today

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