SGLang RCE Exploit Breaches NEAR AI, Hits 18 AI Agents
Using an RCE bug in SGLang, the open-source AI inference engine, an attacker ran code on a NEAR AI server, then moved deeper and reached data on about 100 users and 18 AI agents.
⚡ Why it matters
It shows that a trusted execution environment (TEE) does not help when the software inside it is vulnerable, and that AI inference engines are a growing attack surface.
The breach happened last Sunday. NEAR AI said the attacker could also have seen requests processed on that server that day, including confidential-mode requests handled inside a trusted execution environment. The company noted the TEE does not protect against a flaw in software running inside it, and SGLang runs inside it.
What the attacker reached
- An internal system supporting Private Chat, a product NEAR AI had already retired. About 100 users' names and emails, and for some their plan and balance, were downloaded. There is no sign conversations or files were accessed.
- 18 AI agents on an older NEAR AI Agents deployment outside the TEE, yielding chat history, settings and logs.
- Two customers' API keys exposed in logs, both since revoked.
The company's response
NEAR AI revoked all sessions and admin credentials, replaced agent tokens, took Private Chat offline and deployed an SGLang fix on all inference servers. It reported the flaw to the SGLang project but has not given a CVE or affected versions.
What to do
- If you run SGLang, watch the project's advisories and never expose it directly to the internet.
- Do not rely on a TEE alone; the software inside it must be secure too.
- Keep API keys out of logs and scan your logs for exposed secrets.
- NEAR AI users should be wary of unexpected messages about their account or balance.
🔗 Sources
This article is original reporting by the Security World editorial team based on the sources listed above; direct quotes are kept short and marked with quotation marks. Corrections and feedback: info [at] securitywd.net.
Related stories
Operation TorNado: 354 Dark Web Vendors and Buyers Arrested
Europol and the US Justice Department announced 354 arrests of vendors and buyers on dark web markets including Archetyp, Nemesis, Tor2Door, Bohemia and Kingdom, in a 14-country operation called TorNado.
German Law Gives Spy Agencies Hacking and Sabotage Powers
Germany's Bundestag passed a law on Friday letting intelligence agencies hack foreign systems, disrupt adversaries' supply chains and knock offline servers operated by hostile state hacking groups.
ArcticRAT Android Malware Uses AI to Profile Victims
Zimperium reports that ArcticRAT has evolved from an Android crypto stealer into a remote access Trojan (RAT) that takes over devices and uses an AI model to sift stolen messages for financial information.