SGLang RCE Exploit Breaches NEAR AI, Compromising Data from 18 Agents and 100 Users
· GlobeWire Daily Editorial Desk · Source: thehackernews.com

NEAR AI reported that an attacker exploited a remote code execution vulnerability in the open-source SGLang inference engine last Sunday, running code on one of the company's inference servers. According to the company, the incident allowed the attacker to access requests processed on that server on the same day, including those handled in confidential mode inside a trusted execution environment (TEE). NEAR AI noted that while a TEE is designed to maintain privacy, it does not mitigate software vulnerabilities within the environment where SGLang operates.
The intrusion extended beyond the initial inference server into other parts of the company's infrastructure.
Scope of the Compromise
- Private Chat System: The attacker reached an internal system linked to Private Chat, a deprecated product, and downloaded account details for approximately 100 users, including email addresses, names, and in some cases, plan and balance information. The company stated that stored Private Chat conversations and uploaded files were not accessed.
- NEAR AI Agents: The attacker accessed 18 AI agents on an older deployment that lacked TEE protection, extracting data such as chat histories, settings, and logs.
- Exposed API Keys: Two customers' NEAR AI Cloud API keys were located within exposed logs and have since been revoked by the company.
Response and Remediation
Following the detection of the security incident, NEAR AI implemented several containment and recovery measures:
- Revoked all active user sessions and administrator credentials.
- Replaced all agent tokens and took the Private Chat feature offline.
- Applied a software fix for the SGLang vulnerability across all inference servers and rotated remaining credentials.
- Completed a forensic review and restored access to the NEAR AI Cloud service.
- Reported the vulnerability to the SGLang project, though an official CVE identifier, affected version numbers, and the status of a project fix have not been publicly disclosed.
Practical Implications and Verification
The company confirmed that it has contacted all users whose account information or agents were accessed via [email protected] with specific instructions. In a subsequent update, NEAR AI advised that users who have not received direct communications do not need to take any action, while urging caution regarding unsolicited messages concerning account status or balances. Additionally, technical reports from October indicated that Brave's Leo assistant processes certain chats through NEAR AI-operated TEEs, though the company has not confirmed whether the affected server handled those specific requests.
To verify official announcements, users should review direct communications from NEAR AI's designated security address and monitor official incident disclosure channels.



