CVE-2026-6608 Overview
A vulnerability was detected in lm-sys FastChat up to version 0.2.36. The vulnerability impacts the add_text function of the Arena Side-by-Side View Handler component. The manipulation results in incorrect control flow (CWE-670), which could allow attackers to alter the expected execution path of the application. The attack can be launched remotely without authentication. The exploit has been publicly disclosed and may be actively used.
Critical Impact
This incorrect control flow vulnerability in FastChat's Arena Side-by-Side View Handler allows remote attackers to manipulate application logic without authentication. While a partial fix was applied in commit 34eca62 for gradio_block_arena_named.py, three other files remain vulnerable.
Affected Products
- lm-sys FastChat up to version 0.2.36
- FastChat Arena Side-by-Side View Handler component
- FastChat Gradio-based interface modules
Discovery Timeline
- April 20, 2026 - CVE-2026-6608 published to NVD
- April 22, 2026 - Last updated in NVD database
Technical Details for CVE-2026-6608
Vulnerability Analysis
The vulnerability resides in the add_text function within FastChat's Arena Side-by-Side View Handler. FastChat is a popular open-source platform for training, serving, and evaluating large language model-based chatbots. The Arena component allows users to compare different AI models side-by-side.
The incorrect control flow weakness (CWE-670) occurs when the application fails to properly enforce the expected sequence or flow of operations. This can lead to the application entering unexpected states or executing logic out of the intended order. In the context of FastChat's Arena handler, this could potentially allow attackers to manipulate model comparisons, bypass intended restrictions, or affect the integrity of the evaluation process.
The vulnerability is particularly concerning because the root cause was only partially addressed. While commit 34eca62 patched gradio_block_arena_named.py, three additional files containing similar vulnerable code patterns were missed, leaving the application partially exposed.
Root Cause
The root cause is an incorrect control flow implementation in the add_text function. This function handles user input in the Arena Side-by-Side View, but fails to properly validate or enforce the expected execution sequence. The control flow issue allows remote attackers to manipulate the normal operation of the handler without requiring any authentication or special privileges.
The incomplete patch in commit 34eca62 demonstrates a common security anti-pattern where vulnerabilities are fixed in isolation without reviewing related code paths for similar issues.
Attack Vector
The vulnerability can be exploited remotely over the network. An attacker can interact with the FastChat Arena Side-by-Side View interface and manipulate the add_text function's control flow through crafted requests. No user interaction or authentication is required to exploit this vulnerability, making it accessible to any attacker who can reach the FastChat instance over the network.
The public availability of exploit information increases the risk of exploitation in the wild. Organizations running vulnerable FastChat deployments should treat this as an active threat.
Detection Methods for CVE-2026-6608
Indicators of Compromise
- Unusual or malformed requests to FastChat Arena Side-by-Side View endpoints
- Unexpected state changes or behavior in model comparison sessions
- Anomalous patterns in application logs related to the add_text function
- Multiple sequential requests attempting to manipulate control flow states
Detection Strategies
- Monitor FastChat application logs for unusual patterns in Arena handler function calls
- Implement request rate limiting and anomaly detection on Arena-related API endpoints
- Deploy web application firewall (WAF) rules to detect suspicious manipulation attempts targeting the add_text function
- Use application-level logging to track state transitions in the Arena component
Monitoring Recommendations
- Enable verbose logging for FastChat Arena components to capture detailed request information
- Set up alerts for unusual request patterns targeting /arena or side-by-side comparison endpoints
- Monitor for increased error rates or unexpected application state changes
- Review application behavior after any unauthenticated interactions with Arena handlers
How to Mitigate CVE-2026-6608
Immediate Actions Required
- Review all FastChat deployments and identify instances running version 0.2.36 or earlier
- Restrict network access to FastChat Arena functionality to trusted users only
- Implement additional authentication layers for Arena Side-by-Side View features
- Monitor for exploitation attempts while awaiting a complete patch
Patch Information
A partial fix has been applied in commit 34eca62, which addresses the vulnerability in gradio_block_arena_named.py. However, this fix is incomplete as three other files containing similar vulnerable patterns were not addressed. Users should monitor the FastChat GitHub repository and the related GitHub issue for a comprehensive patch that addresses all affected files.
For additional technical details, refer to the security analysis on GitHub Gist and the VulDB vulnerability entry.
Workarounds
- Disable or restrict access to the Arena Side-by-Side View functionality until a complete patch is available
- Implement network-level access controls to limit who can interact with FastChat instances
- Deploy a reverse proxy with request validation to filter potentially malicious inputs to Arena handlers
- Consider running FastChat in an isolated environment with limited network exposure
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


