SGLang RCE Exploit Breaches NEAR AI, Steals Data From 18 Agents and About 100 Users

An attacker exploited a remote code execution vulnerability in SGLang, an open-source inference engine, to breach NEAR AI's infrastructure and steal account details from about 100 users and data from 18 AI agents.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · 3 min read
Share
A dimly lit server room with rows of rack-mounted equipment, emergency lights casting shadows across the floor
Image: AI-generated, i10X
On this page
  1. Quick Take
  2. In plain English
  3. What happened
  4. What NEAR AI has done
  5. What you should do
  6. What it means
  7. Sources

An attacker exploited a remote code execution flaw in SGLang, an open-source inference engine, and ran code on one of NEAR AI’s inference servers last Sunday. The breach exposed account details for about 100 users and data from 18 AI agents on an older deployment.

i10X Quick Take

Quick Take

  1. What happened: An attacker exploited a remote code execution vulnerability in SGLang to breach NEAR AI’s inference servers last Sunday
  2. Data stolen: Account details (email addresses, names, plan and balance information) for about 100 users and data from 18 AI agents including chat history, settings and logs
  3. Confidential mode compromised: The attacker could have seen requests processed on the affected server that day, including those sent in confidential mode inside a trusted execution environment (TEE)
  4. API keys exposed: Two customers’ NEAR AI Cloud API keys were exposed in logs and have been revoked
  5. What to do: NEAR AI has contacted affected users directly at security@near.ai; users who have not heard from the company do not need to do anything

In plain English

An attacker found a way to run their own code on a server that NEAR AI uses to process AI requests. NEAR AI is a company that provides AI services. The attacker got in last Sunday and was able to see some requests being processed that day, even ones that were supposed to be private. They also stole email addresses and names for about 100 people who used an older chat product, and took data from 18 AI assistants.

What you should do: If you use NEAR AI and they haven’t emailed you from security@near.ai, you don’t need to do anything. The company has fixed the problem and locked the attacker out.

What happened

The attacker exploited a remote code execution flaw in SGLang and gained access to one of NEAR AI’s inference servers last Sunday. SGLang is an open-source inference engine that NEAR AI runs inside trusted execution environments (TEEs) designed to keep requests private.

The attacker could see requests being processed on that server that day, including requests sent in confidential mode. According to NEAR AI, the TEE “does not protect against a vulnerability in the software running inside the environment,” which is how the attacker could reach requests there despite the TEE protections.

From the breach, the attacker moved further into NEAR AI’s systems and reached an internal system behind Private Chat, a product the company had already deprecated. The company confirmed that the attacker downloaded account details for about 100 users, including email addresses, names, and for some accounts, plan and balance information. The company found no sign that stored Private Chat conversations or uploaded files were accessed.

The attacker also reached 18 AI agents on an older deployment of NEAR AI Agents that did not run inside the company’s TEE. From those agents, the attacker took data including chat history, settings and logs. Two customers’ NEAR AI Cloud API keys were exposed in logs.

What NEAR AI has done

After detecting the attack, NEAR AI revoked all active sessions and administrator credentials, replaced all agent tokens and took Private Chat offline. The company deployed a fix for the SGLang flaw on all of its inference servers, rotated its remaining credentials and completed a full forensic review, according to its incident report.

The company revoked both exposed API keys. Access to its NEAR AI Cloud service has been restored.

NEAR AI reported the flaw to the SGLang project. The company has not identified the flaw by CVE number, named the affected SGLang versions, or said whether the project has released a fix.

What you should do

NEAR AI has contacted users whose account details or agents it confirmed were accessed. Affected users heard directly from security@near.ai, with the steps that apply to them.

As a precaution, the company asks users to be careful with messages about their account or balance that they did not ask for.

In a follow-up post yesterday, the company said users who have not heard from it do not need to do anything. The company has not said whether people whose requests passed through the affected server last Sunday were among those contacted.

What it means

The breach demonstrates that trusted execution environments do not protect against vulnerabilities in the software running inside them. Even when AI inference runs inside a TEE designed to keep requests private from the service provider, a flaw in the inference engine itself can expose those requests to an attacker.

In an October 15 technical write-up, Brave, the browser maker, said its Leo assistant runs chats with the GLM 5.3 Flash model inside a TEE operated by NEAR AI. NEAR AI has not said whether the affected server handled any of those chats.

Sources

Christopher Ort

Christopher Ort

Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Editor's picks

  1. Georgia Tech’s Academic AI Playbook: 20 Lessons From 67 Real Courses, Free to Reuse
  2. Arcfront’s $1B Run Rate: What the AI Data Startup Confirms and What It Doesn’t
  3. GPT-6.2 Astra Tops Blueprint-Bench 2, 70% Above May Leader GPT-5.5
  4. Deutsche Telekom Puts 100 Million Euros Into Mistral for Sovereign AI in Germany
  5. Inkling 2 Mini: Thinking Machines’ Looped Open Model Tops Qwen on Coding Tests