SGLang RCE vulnerability exploit breaches NEAR AI, stealing data of 18 agents and about 100 users
SGLang RCE Exploit Breaches NEAR AI, Steals Data From 18 Agents and About 100 Users
Attackers exploited a remote code execution vulnerability in the open-source inference engine SGLang to execute code on a NEAR AI inference server last Sunday, and could view the requests that server processed that day, including requests sent in confidential mode; NEAR AI says TEE cannot protect against vulnerabilities in the software running inside it, and SGLang was running in a TEE. The attackers also entered the internal systems behind the deprecated Private Chat, downloading the email addresses and names of about 100 users and, for some accounts, plan and balance information, and took chat records, settings and logs from 18 agents deployed in the old NEAR AI Agents; two customers' NEAR AI Cloud API keys were exposed in logs and have been revoked; the company found no indication that stored Private Chat conversations or uploaded files were accessed. NEAR AI has deployed fixes on all inference servers, revoked the relevant credentials and completed a forensic review, and reported the vulnerability to the SGLang project, but has not yet published a CVE number or affected versions.
The incident shows that TEE does not protect against vulnerabilities in the software running inside it, and requests in confidential mode can still be read; teams deploying similar inference architectures can use this to check themselves.