Axisdream
Written and Published byAxisdream·

An Inference Engine Breach Exposed 18 Agent Identities

Serving layer at the centre of an agent platform with credentials passing through it

Key Takeaways

  • •Attackers exploited a remote code execution flaw in SGLang to breach NEAR AI, reaching 18 agent identities and about 100 users through the serving layer.
  • •Examines what an inference server actually holds, analyzing the structural bottlenecks and trade-offs in real-world deployments.
  • •Provides engineering benchmarks and verification criteria for where the boundary was assumed.

Attackers exploited a remote code execution flaw in SGLang to breach NEAR AI, according to a report published in November 2026. The compromise reached data belonging to 18 agents and about 100 users, and may have exposed confidential AI requests.

SGLang is an open-source inference engine with 38,655 stars, used for high-throughput serving and agent pipelines. It is the same project that appears in Red Hat's October comparison of serving engines as the one built around RadixAttention prefix reuse.

What an inference server actually holds

An inference engine sits at the centre of an agent platform and is usually treated as infrastructure rather than as a security boundary. It receives the plaintext of every prompt, every retrieved passage and every tool result, and it holds them in a key-value cache that can persist across requests.

That position makes a request-path RCE a different class of incident from an application bug. The blast radius is not the server process. It is every conversation the server has served and every credential an agent passed through it on the way to a tool call.

The 18 agents are the number that matters. Each is an identity with whatever authority it was granted, and a compromise of the serving layer puts every one of them within reach at once. Agent sandboxing protects the host from code the agent writes. It does nothing about the server that generated the code being the entry point.

Where the boundary was assumed

The architecture of an agent platform usually places trust boundaries around the sandbox, around the tool invocation layer and around the model provider. The inference server tends to fall inside the trusted zone, because it is on the same network and because it is the thing doing the work.

That assumption is worth examining against what the server handles. A prompt containing a customer record, a retrieved document containing a contract, and a tool result containing an access token all pass through the engine in plaintext. The cache that makes serving efficient is also a store of those values.

Treating that as infrastructure rather than as a data processor is a categorisation that survives right up until it does not.

What the report leaves open

The underlying CVE, the patched version and the disclosure timeline were not independently confirmed in this research pass. The figures of 18 agents and about 100 users are as reported and should not be extrapolated to a larger population.

Whether patched versions were available before exploitation is also unconfirmed, which matters for the obvious question of whether this was a window the maintainers could have closed sooner.

SGLang is not uniquely vulnerable. Any inference server that deserialises request content or executes code on behalf of a caller carries comparable exposure, and framing this as one project's failure would misread the lesson. The lesson is about where the boundary is drawn.

The installation instructions and the report on the breach are both public, and a reader running any serving stack can check which version they are on before deciding whether the question applies to them.

Related Dispatches